summaryrefslogtreecommitdiffstats
path: root/projectroot/etc/init.d/rcS
blob: 45dc909f5cf9348a230aad7dcf4c650582c057ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# /etc/init.d/rcS
#

mount -t proc none /proc

if grep -q "quiet" /proc/cmdline; then
	exec 1>/dev/null
fi

echo -n "mounting filesystems..."
mount -a 2>/dev/null
echo "done."

# loadkmap < /etc/boottime.kmap

# set hostname
test -e /etc/hostname && hostname -F /etc/hostname

echo "running rc.d services..."
run-parts -a start /etc/rc.d