mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 07:53:01 +02:00
Enable sending of profile on first connection startup.
This commit is contained in:
13
src/initscripts/init.d/networking/red.up/99-fireinfo
Normal file
13
src/initscripts/init.d/networking/red.up/99-fireinfo
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Send the fireinfo profile after first boot (if enabled)
|
||||
|
||||
INDICATION="/var/run/fireinfo"
|
||||
|
||||
if [ ! -e "${INDICATION}" ]; then
|
||||
/usr/bin/sendprofile >/dev/null 2>&1
|
||||
|
||||
touch ${INDICATION}
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user