From 0166fe71e6785706df783b9b88d42ce90bd248dd Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Jul 2009 16:10:56 +0200 Subject: Added umts function --- etc/functions/umts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 etc/functions/umts (limited to 'etc/functions/umts') diff --git a/etc/functions/umts b/etc/functions/umts new file mode 100755 index 0000000..9c1daf5 --- /dev/null +++ b/etc/functions/umts @@ -0,0 +1,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 +} -- cgit v1.2.3