reshaped
[planetlab-umts-tools.git] / backend / root / etc / rc.d / init.d / umts
diff --git a/backend/root/etc/rc.d/init.d/umts b/backend/root/etc/rc.d/init.d/umts
new file mode 100755 (executable)
index 0000000..c52ce10
--- /dev/null
@@ -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 ; then echo "Done."; fi
+    ;;
+
+    *)
+       echo "usage: $0 start"
+    ;;
+
+esac
+
+exit 0
+