Next:
SERVER_delEtcHosts
Up:
./inc/server.php
Previous:
SERVER_delLineFromFile
Contents
SERVER_addEtcHosts
Description:
Adds a host to /etc/hosts and /etc/backuppc/hosts (if it doesn't exists allready)
Parameter:
hostname: name of the host to add
ip: its IP