From d15c84e40df1ecd05d0c992be4884144bf8848a3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 24 Aug 2005 00:17:51 +0000 Subject: [PATCH] fix reboot command for dlink flash script git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1742 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/scripts/dlink.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.11.0