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

Re: How to bind special button to ifup/ifdown

Andrew McMillan wrote (Wed 2007-Mar-07 00:07:52 +0000):

> When I re-enable the wifi I need to "modprobe ipw3945" which also
> manages to restart the daemon (there must be some special magic there
> somewhere, but I haven't investigated much further.

 $ cat /etc/modprobe.d/ipw3945d
 install ipw3945 modprobe --ignore-install ipw3945 && /etc/init.d/ipw3945d modprobe-start
 remove  ipw3945 /etc/init.d/ipw3945d modprobe-stop && modprobe -r --ignore-remove ipw3945

 $ dpkg -S /etc/modprobe.d/ipw3945d
 ipw3945d: /etc/modprobe.d/ipw3945d

Cheers, Marcus

   Marcus C. Gottwald  ·  http://www.inf.fu-berlin.de/~gottwald/

Reply to: