git://git.onelab.eu
/
planetlab-umts-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
index
641b001
..
648523b
100755
(executable)
--- a/
umts.init
+++ b/
umts.init
@@
-1,22
+1,10
@@
#!/bin/bash
#!/bin/bash
-#
chkconfig: - 87 30
-#
description: Loads modules needed for the umts connection and uses gcom
+#
required at boot-time for smooth operation of the umts-related scripts
+#
chkconfig: 2345 99 01
-. /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"
- ;;
+function start () { sed -i -e '/slcip/ d' /etc/iproute2/rt_tables ; }
+case $1 in
+ start) start;;
+ *) ;;
esac
esac
-
-exit 0
-