Re: Setup hostname so it appears in the router
Posted: Thu Dec 10, 2020 1:24 pm
Ok both must to be restored.
The right line is
The right line is
- Code: Select all
if (mwexec("/sbin/udhcpc -b -i " . escapeshellarg($lanif) . " -s {$g['etc_path']}/api/api_dhcpc.php dhcpdCbScript -x hostname='{$config['system']['hostname']}'") != 0){
- Code: Select all
udhcpc: option -h NAME is deprecated, use -x hostname:NAME