]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/fireinfo
2 ########################################################################
3 # Begin $rc_base/init.d/fireinfo
5 # Description : Fireinfo profile generator
7 # Authors : IPFire Team
9 # Notes : This script saves the fireinfo profile to a file which
10 # is needed to show that information on the webinterface.
11 # No data is sent to the server.
13 ########################################################################
20 mkdir
-p /var
/ipfire
/fireinfo
2>/dev
/null
22 sendprofile
--public-id > /var
/ipfire
/fireinfo
/public_id
23 sendprofile
--dump > /var
/ipfire
/fireinfo
/profile
27 echo "Usage: ${0} {start}"
32 # End $rc_base/init.d/fireinfo