summaryrefslogtreecommitdiff
path: root/package/initramfs/root/rc.init
blob: cd81947c63b298f2aae45466a30cc4c2b81317c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
#
# /rc.init
#
# Starts the system. It only contains boot specific things like
# mounting filesystems. Upon termination it executes /etc/rc.sysinit
# to do all the traditional sysinit stuff.
#

# Set the path
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH

echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo ""
echo "Linux on SPiDCOM SPK200"
echo ""
echo "System coming up, please wait..."
echo ""
echo ""

# Mount filesystems
mount -a

# Clear mtab
>/etc/mtab

# Let the 'real' rc.sysinit take over
exec /etc/rc.sysinit