/[magellan-source]/trunk/mlivecdbuild/profiles/samsung-nc10-i686-svn/custom-files/fn-keys/wlan-onoff.sh |
Contents of /trunk/mlivecdbuild/profiles/samsung-nc10-i686-svn/custom-files/fn-keys/wlan-onoff.sh
Parent Directory | Revision Log
Revision 963 -
(show annotations)
(download)
(as text)
Wed Jan 27 16:14:08 2010 UTC (14 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 377 byte(s)
Wed Jan 27 16:14:08 2010 UTC (14 years, 3 months ago) by niro
File MIME type: application/x-sh
File size: 377 byte(s)
-nc10 profile
1 | #!/bin/sh |
2 | |
3 | if lsmod | grep ath5k > /dev/null; then |
4 | sudo /etc/init.d/network stop wlan0 |
5 | sudo modprobe -r ath5k |
6 | kdialog --passivepopup "WLAN-Schnittstelle wlan0 wurde deaktiviert" 5 --title "Netzwerkverwaltung" |
7 | else |
8 | sudo modprobe ath5k |
9 | sudo /etc/init.d/network start wlan0 |
10 | kdialog --passivepopup "WLAN-Schnittstelle wlan0 wurde aktiviert" 5 --title "Netzwerkverwaltung" |
11 | fi |
Properties
Name | Value |
---|---|
svn:executable | * |
svn:keywords | Id |