diff --git a/openwrt/scripts/dlink.pl b/openwrt/scripts/dlink.pl index 3030ed9a0a..ace6476e92 100755 --- a/openwrt/scripts/dlink.pl +++ b/openwrt/scripts/dlink.pl @@ -164,4 +164,4 @@ while (($fssize > 0) and ($rbytes > 0)) { } $dc->close(); -$ftp->command("reboot"); +$ftp->reboot();