wireless Deactivate script
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue Feb 19 22:59:36 UTC 2008
Aaron Konstam wrote:
> On Tue, 2008-02-19 at 17:38 +0000, 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 in /etc/sysconfig/nertwork-scripts/ youu have a file ifcfg-wireless
> you can execute:
> ifup wireless
> and
> ifdown wireless.
>
The ifup-wireless is a special script that is run when you bring up
a wireless interface. The ifup-eth script checks uses the
network-functions function is_wireless_device to detect wireless
devices, and runs the ifup-wireless script if it is. All the
ifdown-eth script check for is a left over wireless encryption key.
(WIRELESS_ENC_KEY)
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080219/6001ce73/attachment-0001.sig>
More information about the fedora-list
mailing list