X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/55e5f23b01d4991830cd4596684c014da04d1343..0bf6f171abbb8dace8605bc251bf09bced9d625c:/scripts/dlink.pl?ds=sidebyside diff --git a/scripts/dlink.pl b/scripts/dlink.pl index 3030ed9a0..ace6476e9 100755 --- a/scripts/dlink.pl +++ b/scripts/dlink.pl @@ -164,4 +164,4 @@ while (($fssize > 0) and ($rbytes > 0)) { } $dc->close(); -$ftp->command("reboot"); +$ftp->reboot();