diff --git a/openwrt/scripts/dlink.pl b/openwrt/scripts/dlink.pl index 3030ed9a0aa..ace6476e925 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();