]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/rc.d/rc.sysinit
3 # rc.sysinit by the IPFire Team
6 eval $
(/usr
/local
/bin
/readhash
/var
/ipfire
/main
/settings
)
10 PATH
=/bin
:/sbin
:/usr
/bin
:/usr
/sbin
14 NUMBEROFSCRIPTS
=`ls -l /etc/boot.d | grep ^- | wc -l`
19 echo "Usage: progressbar {progress}"
22 if [ -e /proc
/splash
]; then
23 echo "show $(( 65534 * $1 / $NUMBEROFSCRIPTS ))" > /proc
/splash
27 echo "Mounting /proc filesystem"
28 mount
-n -t proc
/proc
/proc
32 list
=`find /etc/boot.d -type f -maxdepth 1 | sort`
33 for script in $list; do
35 let PROGRESS
=$PROGRESS+1
39 logger
-t ipfire
"IPFire started."
41 # Send nice startup beep now
42 /usr
/bin
/beep
-l 75 -f 500
43 /usr
/bin
/beep
-l 75 -f 1000
44 /usr
/bin
/beep
-l 75 -f 2000
45 /usr
/bin
/beep
-l 75 -f 3000