X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=umts.init;fp=umts.init;h=641b0012318d06d2a78b5ccd68f61f7e50af9fe7;hb=29a8ad81f201bb3c538057dd174c31c9ae551e78;hp=0000000000000000000000000000000000000000;hpb=46cf404603955fa122ad50cfe9a72b82491f9b4d;p=planetlab-umts-tools.git diff --git a/umts.init b/umts.init new file mode 100755 index 0000000..641b001 --- /dev/null +++ b/umts.init @@ -0,0 +1,22 @@ +#!/bin/bash +# chkconfig: - 87 30 +# description: Loads modules needed for the umts connection and uses gcom + +. /usr/lib/umts_functions + +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +case "$1" in + start) + echo "Initializing the umts component..." + if init_umts; then echo "Done."; fi + ;; + + *) + echo "usage: $0 start" + ;; + +esac + +exit 0 +