summaryrefslogtreecommitdiffstats
path: root/openwrt/scripts/dlink.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/scripts/dlink.pl')
-rwxr-xr-xopenwrt/scripts/dlink.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/dlink.pl b/openwrt/scripts/dlink.pl
index 3030ed9a0..ace6476e9 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();