git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
root-context/init/sliceip.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