Enable sending of profile on first connection startup.

This commit is contained in:
Michael Tremer
2010-12-11 10:52:30 +01:00
parent 0652dff7e3
commit e9ef343f6d
2 changed files with 14 additions and 0 deletions

View File

@@ -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

View 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