install a 'sliceip' initscript that cleans up stuff at boot-time for the sake of...
[vsys-scripts.git] / root-context / init / sliceip.init
diff --git a/root-context/init/sliceip.init b/root-context/init/sliceip.init
new file mode 100755 (executable)
index 0000000..648523b
--- /dev/null
@@ -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