fix reboot command for dlink flash script
authorFelix Fietkau <nbd@openwrt.org>
Wed, 24 Aug 2005 00:17:51 +0000 (00:17 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 24 Aug 2005 00:17:51 +0000 (00:17 +0000)
SVN-Revision: 1742

openwrt/scripts/dlink.pl

index 3030ed9a0aaf5dd1c81a3c250775cedaae4d5e27..ace6476e92595cdacc3510a3502b836fe71a5e85 100755 (executable)
@@ -164,4 +164,4 @@ while (($fssize > 0) and ($rbytes > 0)) {
 }
 
 $dc->close();
-$ftp->command("reboot");
+$ftp->reboot();