Re: wireless Deactivate script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux