X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=backend%2Fumts.init;fp=backend%2Fumts.init;h=641b0012318d06d2a78b5ccd68f61f7e50af9fe7;hb=46cf404603955fa122ad50cfe9a72b82491f9b4d;hp=0000000000000000000000000000000000000000;hpb=e7500f044c0a639d359c07d14d2357793737d903;p=planetlab-umts-tools.git diff --git a/backend/umts.init b/backend/umts.init new file mode 100755 index 0000000..641b001 --- /dev/null +++ b/backend/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 +