fix yWeb reboot

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1398 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: ceebe14abe
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-04-14 (Thu, 14 Apr 2011)

Origin message was:
------------------
- fix yWeb reboot

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1398 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
gixxpunk
2011-04-14 14:24:00 +00:00
parent 3a015e37b0
commit 2e593f986c
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ function goUrl(_url){
<tr><td class="y_form_header">{=L:bc.control.box=}</td><td class="y_form_header">{=L:bc.control.standby_mode=}</td></tr>
<tr>
<td>
<input type="button" value="{=L:bc.control.reboot=}" onclick='goConfirmUrl("{=L:bc.control.reboot.ask=}","/control/reboot");'/>
<input type="button" value="{=L:bc.control.reboot=}" onclick='goUrl("/control/exec?Y_Tools&amp;yreboot");'/>
<input type="button" value="{=L:bc.control.shutdown=}" onclick='goConfirmUrl("{=L:bc.control.shutdown.ask=}","/control/shutdown");'/>
</td>
<td>

View File

@@ -555,7 +555,7 @@ case "$1" in
ps) msg=`ps`; y_format_message_html ;;
free) f=`free`; p=`df -h`; msg="RAM Memory use\n-------------------\n$f\n\nPartitions\n-------------------\n$p"
y_format_message_html ;;
yreboot) yreboot; echo "Reboot..." ;;
yreboot) reboot; echo "Reboot..." ;;
check_yWeb_conf) check_Y_Web_conf ;;
rcsim) rcsim $2 >/dev/null ;;
domount) shift 1; do_mount $* ;;