summaryrefslogtreecommitdiffstats
path: root/data/stage3.1/init
diff options
context:
space:
mode:
Diffstat (limited to 'data/stage3.1/init')
-rwxr-xr-xdata/stage3.1/init7
1 files changed, 5 insertions, 2 deletions
diff --git a/data/stage3.1/init b/data/stage3.1/init
index c51abbea..14516a50 100755
--- a/data/stage3.1/init
+++ b/data/stage3.1/init
@@ -13,6 +13,7 @@
#############################################################################
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/openslx/bin:/openslx/sbin
+export LD_LIBRARY_PATH=/openslx/lib
mount -n -t tmpfs -o 'mode=755' run "/run"
@@ -21,7 +22,7 @@ mount -n -t tmpfs -o 'mode=755' run "/run"
[ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys
# read primary graphic adaptor configuration (without proprietary drivers yet)
-( hwinfo --gfxcard --usb-ctrl > /etc/hwinfo ) &
+( hwinfo --gfxcard > /etc/hwinfo ) &
# load local file systems
insmod /lib/modules.0/aufs.ko
@@ -35,7 +36,7 @@ mount -n -t aufs -o br:/dev/shm/uniontmp:/rorootfs=ro none /mnt
mkdir -p /mnt/uniontmp /mnt/tmp
mount -n --move /dev/shm/uniontmp /mnt/uniontmp
-ln -s /mnt/lib/modules /lib/
+ln -sf /mnt/lib /
cat /proc/uptime >/mnt/tmp/runtime
@@ -67,6 +68,8 @@ case $(cat /etc/hwinfo) in
esac
( modprobe -a drm fbcon; mdev -s ) &
+#ln -s /mnt/share /
+
# load required network and usb controller drivers, filter out wireless adaptors
while ps | grep -v grep | grep -q " hwinfo --netcard" ; do usleep 10 ; done
nwcardlist="forcedeth|e1000e|e1000|e100|tg3|via-rhine|r8169|pcnet32"