diff options
| author | Simon Rettberg | 2013-02-21 16:16:59 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2013-02-21 16:16:59 +0100 |
| commit | d2f356fea9dc9a3c034e160000f1c79c6cef4997 (patch) | |
| tree | 8c37cb225e89dac828fe46a3e3853f8fd9339f38 /data/stage3.1/init | |
| parent | Add add_user function to add users and groups to the system (diff) | |
| parent | [core] libs and firmware for stage3.1 (diff) | |
| download | tm-scripts-d2f356fea9dc9a3c034e160000f1c79c6cef4997.tar.gz tm-scripts-d2f356fea9dc9a3c034e160000f1c79c6cef4997.tar.xz tm-scripts-d2f356fea9dc9a3c034e160000f1c79c6cef4997.zip | |
Merge branch 'master' of ssh://openslx/openslx-ng/tm-scripts
Diffstat (limited to 'data/stage3.1/init')
| -rwxr-xr-x | data/stage3.1/init | 7 |
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" |
