mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
Enable sending of profile on first connection startup.
This commit is contained in:
@@ -86,6 +86,7 @@ etc/rc.d/init.d/networking/red.up/40-ipac
|
||||
etc/rc.d/init.d/networking/red.up/50-ipsec
|
||||
etc/rc.d/init.d/networking/red.up/50-ovpn
|
||||
etc/rc.d/init.d/networking/red.up/99-U-dialctrl.pl
|
||||
etc/rc.d/init.d/networking/red.up/99-fireinfo
|
||||
etc/rc.d/init.d/networking/red.up/99-pakfire-update
|
||||
#etc/rc.d/init.d/nfs-server
|
||||
etc/rc.d/init.d/ntp
|
||||
|
||||
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