- # now wait for active triggerfile and ppp daemon to disappear
+ # now wait for active triggerfile and ppp daemon to disappear
# wait maximum 60 seconds
my $counter = 60;
sleep 1;
# wait maximum 60 seconds
my $counter = 60;
sleep 1;
- while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipfire.pid' || $counter == 0 )
+ while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipfire.pid' || $counter == 0 )
# wait maximum 60 seconds
my $counter = 60;
sleep 1;
# wait maximum 60 seconds
my $counter = 60;
sleep 1;
- while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipfire.pid' || $counter == 0 )
+ while ( -e "${General::swroot}/red/active" || -e '/var/run/ppp-ipfire.pid' || $counter == 0 )
- /etc/init.d/collectd stop
- /etc/init.d/collectd start
## FIXME: do we need to do this ?
sleep($sleep_after_profile);
&dial();
## FIXME: do we need to do this ?
sleep($sleep_after_profile);
&dial();
- if ( $CONNSCHED::config[$i]{'ACTION'} eq 'reconnect' )
+ if ( $CONNSCHED::config[$i]{'ACTION'} eq 'reconnect' )