74
{
print ("\nNo CLIENT_DEV info found, not setting up client network\n\n");
}
#----------------------------------------------------------------------#
# Start Click #
#----------------------------------------------------------------------#
if ( $CLICK_KERNEL ne "" && -e $CLICK_CONFIG )
{
if ($CLICK_KERNEL eq "true" )
{
$click_prog = "click-install ";
}
else
{
$click_prog = "click ";
}
$cmd = $click_prog . $CLICK_CONFIG;
if ($CLICK_KERNEL eq "true")
{
print "Running: $cmd \n";
`$cmd`;
}
else
{
$rc = `which $click_prog`;
if ($? == 0)
{
print "Starting: $cmd in backgroud\n";
system("$cmd &");
}
else
{
print ("Couldn't execute: $cmd\n $1");
sleep(2);
system($BEEP_FAILURE);
die;
}
}
if ( $? != 0 )
{
print ("Couldn't execute: $cmd\n $1");
sleep(2);
system($BEEP_FAILURE);
die;
}
sleep(2);
system($BEEP_CLICK_START);
Comentarios a estos manuales