blob: f144b67c2d5312341c7b47830520311557e1f926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/busybox sh
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
for i in `seq 0 9` ; do
# first stopp all the K?? scripts in this level
for j in /etc/rcL.d/K$i[0-9]* ; do
[ -f $j ] && $j stop
done
# start all S?? scripts in this level
for j in /etc/rcL.d/S$i[0-9]* ; do
[ -f $j ] && $j start
done
done
cat /proc/uptime >/tmp/boot-time
exit 0
|