|
From: G K. <kar...@us...> - 2004-05-10 16:20:42
|
Update of /cvsroot/indlinux/livecd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31580 Added Files: knoppix-autoconfig Log Message: original knoppix autoconfig file --- NEW FILE: knoppix-autoconfig --- #!/bin/bash # /MorphixCD/etc/init.d/knoppix-autoconfig # Basic system configuration and hardware setup # (C) Klaus Knopper <kn...@kn...> 2001 # # Adapted for Morphix, # by Alex de Landgraaf <ale...@xs...> # PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin" export PATH umask 022 # Ignore these signals: INT, TERM, SEGV trap "" 2 3 11 # ANSI COLORS CRE=" [K" [...1007 lines suppressed...] modprobe hid modprobe keybdev modprobe mousedev modprobe usbmouse echo "FORCING usb-ohci! Adding usbdevfs! (hope this works :o)" mount -o devmode=0666 -t usbdevfs none /proc/bus/usb >/dev/null 2>&1 echo "adapting XF86Config-4 for usb-mouse" sed -e 's/InputDevice *"Serial Mouse"/InputDevice "USB Mouse"/' /etc/X11/XF86Config-4 > /tmp/XF86Config-4-2 cp /tmp/XF86Config-4-2 /etc/X11/XF86Config-4 fi if test -n "$SPLASH"; then echo "show 40000">/proc/splash # rc_splash2 40000 fi # Re-enable signals trap 2 3 11 exit 0 |