]>
git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/blob - src/rc.d/rc.conexantusbadsl
3 # $Id: rc.conexantusbadsl,v 1.5.2.4 2005/07/07 20:11:58 franck78 Exp $
6 eval $
(/usr
/local
/bin
/readhash CONFIG_ROOT
/ppp
/settings
)
8 # Debugging. Comment it out to stop logging
11 if [ "z$DEBUG" != "z" ] ; then
12 /usr
/bin
/logger
-t red
"Conexant USB: $*"
17 # See how we were called.
20 if [ -f "/proc/bus/usb/devices" ]; then
21 if ( ! /bin
/cat /proc
/bus
/usb
/devices |
/bin
/grep -q xdslusb
); then
29 eval $
(/usr
/local
/bin
/readhash
/tmp
/cxacru.params
)
30 /sbin
/modprobe cxacru open
=$PARAM_0a
32 msg
"cxacru loading failed"
49 msg
"driver cleanup and USB Bus reset"
51 /sbin
/modprobe
-r cxacru
53 /usr
/local
/bin
/resetusb
56 /bin
/echo "Usage: $0 {start|stop|cleanup}"