5 . /usr/lib/umts_functions
8 PATH=/bin:/usr/bin:/sbin:/usr/sbin
10 if [[ $sliver == "" ]]; then
11 echo "I need the first argument (the sliver name)";
17 command=`echo ${line%% *}`
18 rest=`echo ${line#* }`
22 logger "Starting the umts connection for $sliver"
25 if [[ $? == 0 ]] ; then
34 logger "Stopping umts connection for $sliver"
37 if [[ $? == 0 ]] ; then
47 logger "Request to add a destination for the umts connection";
49 if ! valid_dotted_quad "$rest"; then
52 add_destination "$rest" $sliver;
53 if [[ $? == 0 ]] ; then
63 logger "Request to del a destination for the umts connection";
65 if ! valid_dotted_quad "$rest"; then
68 del_destination "$rest" $sliver;
69 if [[ $? == 0 ]] ; then