Changeset 1787 in MondoRescue
- Timestamp:
- Nov 12, 2007, 5:30:46 PM (18 years ago)
- Location:
- branches/2.2.5/mindi/rootfs/sbin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/init
r1780 r1787 337 337 fi 338 338 rm -f /tmp/FLF 339 } 340 341 StartUSBKbd() { 342 # Prepare minimal USB env in case we have USB kbd such as with iLO 343 [ -d /proc/bus/usb ] && ! grep -q /proc/bus/usb /proc/mounts && mount -t usbfs none /proc/bus/usb 344 if [ -e "/tmp/USE-UDEV" ] ; then 345 modprobe usbhid 346 else 347 if [ -f uhcd_hci.ko ]; then 348 insmod uhcd_hci.ko 349 fi 350 if [ -f usbhid.ko ]; then 351 insmod usbhid.ko 352 fi 353 fi 339 354 } 340 355 … … 532 547 rm -f /foozero 533 548 549 StartUSBKbd 550 534 551 if [ -f /proc/sys/kernel/exec-shield ]; then 535 552 echo 0 > /proc/sys/kernel/exec-shield 2>> /dev/null -
branches/2.2.5/mindi/rootfs/sbin/start-usb
r1732 r1787 20 20 fi 21 21 22 [ -d /proc/bus/usb ] && ! grep -q /proc/bus/usb /proc/mounts && mount -t usbfs none /proc/bus/usb23 24 22 echo -en "Mounting USB device (${usbdev}1) on /mnt/cdrom..." 25 23 /sbin/modprobe usb-storage
Note:
See TracChangeset
for help on using the changeset viewer.