reinstate an initscript for the backend so that /etc/iproute2/rt_tables gets cleaned...
[planetlab-umts-tools.git] / umts.init
diff --git a/umts.init b/umts.init
new file mode 100755 (executable)
index 0000000..648523b
--- /dev/null
+++ b/umts.init
@@ -0,0 +1,10 @@
+#!/bin/bash
+# required at boot-time for smooth operation of the umts-related scripts
+# chkconfig: 2345 99 01
+
+function start () { sed -i -e '/slcip/ d' /etc/iproute2/rt_tables ; }
+
+case $1 in
+     start) start;;
+     *) ;;
+esac