summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-19 16:27:58 +0100
committerJonathan Bauer2013-03-19 16:27:58 +0100
commitea12ccd43ce3a914d385b132174e68e6966116b5 (patch)
tree8e92f4ba561aa41e10ed6c604dbca6b06f26e024
parentuse all cores by make through MAKEFLAGS (diff)
downloadtm-scripts-ea12ccd43ce3a914d385b132174e68e6966116b5.tar.gz
tm-scripts-ea12ccd43ce3a914d385b132174e68e6966116b5.tar.xz
tm-scripts-ea12ccd43ce3a914d385b132174e68e6966116b5.zip
unknown operand fix
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init3
1 files changed, 2 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 0f522ef9..5f614bb3 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -15,6 +15,7 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export LD_LIBRARY_PATH=/usr/lib64
+
mount -n -t tmpfs -o 'mode=755' run "/run"
# mount the important standard directories
@@ -28,6 +29,7 @@ echo "/sbin/mdev" > /proc/sys/kernel/hotplug
( hwinfo --netcard > /etc/netcard ) &
# read kernel command line for debugging switch
+DEBUG=0
read KCL < /proc/cmdline
export KCL
for opts in ${KCL}; do
@@ -96,7 +98,6 @@ fi
# setup network
nwif="eth0"
# set up loopback networking
-[ $DEBUGLEVEL -eq 20 ] && echo "** starting ip config at $(sysup)"
ip link set dev lo up 2>/dev/null
ip addr add 127.0.0.1/8 dev lo 2>/dev/null
ip link set dev $nwif up 2>/dev/null || { echo "No link for $nwif, dropping to shell.."; setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1'; }