pkill des udevd erfolgt nun nur bei mount der CDROM. Wurde die CDROM nicht
gefunden, bleibt udev aktiv git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_initrd@6218 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
e279b98c25
commit
162e286f0e
4
init
4
init
@ -73,7 +73,7 @@ for i in [ [[ acpid addgroup adduser ar arp arping ash awk \
|
|||||||
stty su sync tail tar tee telnet test tftp top touch \
|
stty su sync tail tar tee telnet test tftp top touch \
|
||||||
traceroute true tty tunctl umount uname uncompress uniq \
|
traceroute true tty tunctl umount uname uncompress uniq \
|
||||||
unzip uptime usleep vi wc wget which who whoami xargs \
|
unzip uptime usleep vi wc wget which who whoami xargs \
|
||||||
yes zcat; do
|
yes zcat lspci; do
|
||||||
ln -s busybox $i
|
ln -s busybox $i
|
||||||
done
|
done
|
||||||
cd - 2>&1 >/dev/null
|
cd - 2>&1 >/dev/null
|
||||||
@ -130,9 +130,9 @@ for i in /dev/sr*; do
|
|||||||
umount /mnt
|
umount /mnt
|
||||||
done
|
done
|
||||||
|
|
||||||
pkill udevd
|
|
||||||
|
|
||||||
if [ "$FOUND" ]; then
|
if [ "$FOUND" ]; then
|
||||||
|
pkill udevd
|
||||||
exec /sbin/switch_root /mnt /sbin/init
|
exec /sbin/switch_root /mnt /sbin/init
|
||||||
else
|
else
|
||||||
exec /bin/ash
|
exec /bin/ash
|
||||||
|
Loading…
Reference in New Issue
Block a user