]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - src/scripts/connscheduler
Alte Initscripts entfernt...
[ipfire-2.x.git] / src / scripts / connscheduler
index 1dcbe40fed1d6fd698ed2fcfc9d4589434780f9c..17dc629262f76049a3ef1ed0aa3ad933fb1dc321 100644 (file)
@@ -70,7 +70,7 @@ sub hangup
   }
 
   &General::log("ConnSched disconnect");
-  unless ( system('/etc/rc.d/rc.red', 'stop') == 0 )
+  unless ( system('/etc/rc.d/init.d/red', 'stop') == 0 )
   {
     &General::log("ConnSched disconnect failed: $?");
     return;
@@ -78,7 +78,7 @@ sub hangup
 
   # now wait for active triggerfile and ppp daemon to disappear 
   sleep 1;
-  while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipcop.pid' ) 
+  while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipfire.pid' ) 
   {
     sleep 1;
   }
@@ -94,7 +94,7 @@ sub dial
   }
 
   &General::log("ConnSched connect");
-  unless ( system('/etc/rc.d/rc.red', 'start') == 0 )
+  unless ( system('/etc/rc.d/init.d/red', 'start') == 0 )
   {
     &General::log("ConnSched connect failed: $?");
     return;