Kaydet (Commit) d78a7477 authored tarafından sulincix's avatar sulincix

live mode with usb fixes

üst af7dfb04
......@@ -40,7 +40,7 @@ is_file_avaiable(){
disktmp=$(mktemp)
rm -f $disktmp
mkdir -p $disktmp || true
mount -t auto "$1" $disktmp 2>/dev/null
timeout 10 mount -t auto "$1" $disktmp &>/dev/null
[ -f "$disktmp/$2" ] && [ -b "$1" ]
status=$?
umount -lf $disktmp 2>/dev/null
......
#!/busybox sh
if [ -x /xbin/udevd -a -x /xbin/udevadm ]; then
if [ -x /xbin/udevd -a -x /xbin/udevadm ] && [ "$noudev" != "true" ]; then
msg "Triggering udev"
/xbin/udevd --daemon
/xbin/udevadm trigger --action=add
......@@ -12,3 +12,6 @@ else
msg "Waiting for kernel modules"
sleep 2
fi
msg "Loading filesystem drivers"
ls /lib/modules/*/fs/ | sed "s/^/modprobe /g" | sed "s/$/ &/g" > /fs
sh /fs &>/dev/null
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment