BackupPC has two configuration variables:
$Conf{PingPath} = '/bin/ping';
Full path to the ping command.
$Conf{PingCmd} = '$pingPath -c 1 $host';
Ping command. The following variables are substituted at run-time:
$pingPath path to ping ($Conf{PingPath})
$host host name
I'm just trying to understand why there are two separate variables. That is, what benefit does this setup provide as opposed to just a single variable
$Conf{PingCmd} = '/bin/ping -c 1 $host';