]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/connscheduler
Connection Scheduler korrigiert
[ipfire-2.x.git] / src / scripts / connscheduler
index 58d96905d6daa625addc811a3c24d9652d8369c0..8c7f17f0f14f62ebcb4dbb4191e5d913379e90ad 100644 (file)
@@ -70,7 +70,7 @@ sub hangup
   }
 
   &General::log("ConnSched disconnect");
-  unless ( system('/etc/rc.d/init.d/red', 'stop') == 0 )
+  unless ( system('/etc/rc.d/init.d/network', 'stop', 'red') == 0 )
   {
     &General::log("ConnSched disconnect failed: $?");
     return;
@@ -94,7 +94,7 @@ sub dial
   }
 
   &General::log("ConnSched connect");
-  unless ( system('/etc/rc.d/init.d/red', 'start') == 0 )
+  unless ( system('/etc/rc.d/init.d/network', 'start', 'red') == 0 )
   {
     &General::log("ConnSched connect failed: $?");
     return;