summaryrefslogtreecommitdiff
path: root/package/base-files/src/etc/init.d/rcS
blob: 55c86729ceafba51a033661c2a678dfc1c099a69 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
{
	grep '^#INIT ' /etc/init.d/* | \
	    sort -nk2 | \
	    while read line; do
		sh ${line%%:*} autostart 2>&1
	    done
	test -e /etc/init.d/boot.local && (/bin/sh /etc/init.d/boot.local) 2>&1
} | logger -p 6 -t '' &