Lluis
2003-09-02 18:36:32 UTC
hi all
i've seen that file Image_static/etc/rc.d/init.d/wlan.i has changed on
last release respect to 2003-06-10
in concrete, i've a question about this piece of text:
--- linuxAP.2003-06-10.orig/Image_static/etc/rc.d/init.d/wlan.i
+++ linuxAP.2003-09-01.orig/Image_static/etc/rc.d/init.d/wlan.i
@@ -55,10 +56,16 @@
echo -n "Stopping wlan0: "
ifconfig wlan0 down
# remove modules
- rmmod hostap_cs
- rmmod ds
- rmmod i82365
- rmmod pcmcia_core
+ rmmod $DRIVER
+ insmod hostap
+ insmod hostap_crypt_wep
+ insmod hostap_crypt
+ if [ -f /lib/modules/$kver/pcmcia/pcmcia_core.o ]
+ then
+ rmmod ds
+ rmmod i82365
+ rmmod pcmcia_core
+ fi
echo "Done."
;;
restart)
and what i don't understand is the three insmod's...
wouldn't that have to be rmmod's?
bye
i've seen that file Image_static/etc/rc.d/init.d/wlan.i has changed on
last release respect to 2003-06-10
in concrete, i've a question about this piece of text:
--- linuxAP.2003-06-10.orig/Image_static/etc/rc.d/init.d/wlan.i
+++ linuxAP.2003-09-01.orig/Image_static/etc/rc.d/init.d/wlan.i
@@ -55,10 +56,16 @@
echo -n "Stopping wlan0: "
ifconfig wlan0 down
# remove modules
- rmmod hostap_cs
- rmmod ds
- rmmod i82365
- rmmod pcmcia_core
+ rmmod $DRIVER
+ insmod hostap
+ insmod hostap_crypt_wep
+ insmod hostap_crypt
+ if [ -f /lib/modules/$kver/pcmcia/pcmcia_core.o ]
+ then
+ rmmod ds
+ rmmod i82365
+ rmmod pcmcia_core
+ fi
echo "Done."
;;
restart)
and what i don't understand is the three insmod's...
wouldn't that have to be rmmod's?
bye
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth