mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
Alte Initscripts entfernt...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@388 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user