From: Felix Fietkau <nbd@openwrt.org>
Date: Wed, 24 Aug 2005 00:17:51 +0000 (+0000)
Subject: fix reboot command for dlink flash script
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=01ebc85a7f84aadb5740ab40df3cc0dc140ee9ee;p=openwrt%2Fstaging%2Fdedeckeh.git

fix reboot command for dlink flash script

SVN-Revision: 1742
---

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();