make target selection nicer, choose arch automatically
[openwrt-10.03/.git] / 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();