Comment 64 for bug 365733

Revision history for this message
wiz21 (schampailler) wrote :

ifconfig wlan0 down

works for me on my laptop.

For those who use Kubuntu (KDE 4+) and dont wan't to type that command on each halt/reboot, here's what I've done :

create 2 scripts which are executable by root. One for halt, on for reboot.

basically the script are

#!/bin/sh
ifconfig wlan0 down
halt

and

#!/bin/sh
ifconfig wlan0 down
reboot

Then, in the "Lgin Manager" configuration,

change the commands to run from

/sbin/halt to yourhaltscript

and

/sbin/reboot to your rebootscript.

This way you'll enjoy a normal user experience.

(but I don't know wht will happen if you use networked filesystems and so on, guess it's safe but ain't sure).

stF