X-Git-Url: http://git.onelab.eu/?p=planetlab-umts-tools.git;a=blobdiff_plain;f=umts.init;h=648523b008aae372cd568456354409bb0e1b4836;hp=641b0012318d06d2a78b5ccd68f61f7e50af9fe7;hb=b518901e4533042ccf9ac2aa12e05582d5629ad4;hpb=29a8ad81f201bb3c538057dd174c31c9ae551e78 diff --git a/umts.init b/umts.init index 641b001..648523b 100755 --- a/umts.init +++ b/umts.init @@ -1,22 +1,10 @@ #!/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 - -exit 0 -