summaryrefslogtreecommitdiff
path: root/etc/functions/umts
blob: 9c1daf5916699644c9cf365fa96c0ae9432cfac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
## vim:ft=zsh
typeset module

if [[ $1 == on ]] {
	for module (usbcore {u,e}hci_hcd) {
		sudo modprobe $module
	}
	sleep 10
	sudo pon umts
	sleep 40
	sudo pon umts
} elif [[ $1 == off ]] {
	sudo poff umts
}