From d6b2174f6ae6598eb5b9e2ef4bdf138b02f8ac9c Mon Sep 17 00:00:00 2001 From: nbd 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/openwrt@1742 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/dlink.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();