Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 18 years ago
parent
commit
a28e50cebd
1 changed files with 2 additions and 12 deletions
  1. +2
    -12
      target/livecd/linuxrc.sh

+ 2
- 12
target/livecd/linuxrc.sh

@ -357,16 +357,6 @@ config_net() { # {{{
ip route ip route
echo echo
} # }}} } # }}}
autoload_modules () { # {{{
while read cmd mod rest ; do
[ -n "${rest}" ] && continue
[ -z "${cmd}" ] && continue
if [ "${cmd}" == "modprobe" -o "${cmd}" == "insmod" ] ; then
echo "${cmd} ${mod}"
${cmd} ${mod} 2>&1 >/dev/null
fi
done < <( /bin/gawk -f /sbin/hwscan )
} # }}}
exec_sh() { # {{{ exec_sh() { # {{{
echo "Quit the shell to return to the stage 1 loader!" echo "Quit the shell to return to the stage 1 loader!"
/bin/sh /bin/sh
@ -402,6 +392,8 @@ export PATH="/sbin:/bin:/usr/sbin:/usr/bin:$PATH"
cp -r /lib/udev/devices/* /dev cp -r /lib/udev/devices/* /dev
mount -t devpts devpts /dev/pts || echo "Can't mount devpts on /dev/pts"
echo "" > /proc/sys/kernel/hotplug echo "" > /proc/sys/kernel/hotplug
/sbin/udevd --daemon /sbin/udevd --daemon
@ -410,8 +402,6 @@ emit_udev_events
mod_load_info mod_load_info
autoload_modules
# some devices (scsi...) need time to settle... # some devices (scsi...) need time to settle...
echo "Waiting for devices to settle..." echo "Waiting for devices to settle..."
sleep 5 sleep 5

Loading…
Cancel
Save