wireless Deactivate script
Mike -- EMAIL IGNORED
m_d_berger_1900 at yahoo.com
Wed Feb 20 00:43:12 UTC 2008
On Tue, 19 Feb 2008 11:50:41 -0600, Mikkel L. Ellertson wrote:
> Mike -- EMAIL IGNORED wrote:
>> On my FC8 dual boot laptop, when I Activate my wireless in the Network
>> Device Control window, this script is called:
>>
>> /etc/sysconfig/network-scripts/ifup-wireless
>>
>> to which I added something for wpa_supplicant. Now I would like to do
>> something when I Deactivate my wireless.
>>
>> I see no "ifdown-wireless". What scripts are called?
>>
>> Thanks for your help.
>> Mike.
>>
> If you create an ifdown-wireless script, it should get called
> automatically. You can look at the /sbin/ifdown script to see what
> script it looks for, and when they are run.
>
[...]
Your suggestion didn't work, because near the bottom of
/sbin/ifdown it had:
DEVICE = wlan0
DEVICETYPE = eth
whereas in order to work as indicated, it needed:
DEVICETYPE=wireless
.
This looks like a bug to me but I am sure there will be better
informed judgments. In any case, the information provided
allowed me to easily hack the result I needed.
Thanks for your help,
Mike.
More information about the fedora-list
mailing list