mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- 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:
@@ -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 class="y_form_header">{=L:bc.control.box=}</td><td class="y_form_header">{=L:bc.control.standby_mode=}</td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<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&yreboot");'/>
|
||||||
<input type="button" value="{=L:bc.control.shutdown=}" onclick='goConfirmUrl("{=L:bc.control.shutdown.ask=}","/control/shutdown");'/>
|
<input type="button" value="{=L:bc.control.shutdown=}" onclick='goConfirmUrl("{=L:bc.control.shutdown.ask=}","/control/shutdown");'/>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
|
@@ -555,7 +555,7 @@ case "$1" in
|
|||||||
ps) msg=`ps`; y_format_message_html ;;
|
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"
|
free) f=`free`; p=`df -h`; msg="RAM Memory use\n-------------------\n$f\n\nPartitions\n-------------------\n$p"
|
||||||
y_format_message_html ;;
|
y_format_message_html ;;
|
||||||
yreboot) yreboot; echo "Reboot..." ;;
|
yreboot) reboot; echo "Reboot..." ;;
|
||||||
check_yWeb_conf) check_Y_Web_conf ;;
|
check_yWeb_conf) check_Y_Web_conf ;;
|
||||||
rcsim) rcsim $2 >/dev/null ;;
|
rcsim) rcsim $2 >/dev/null ;;
|
||||||
domount) shift 1; do_mount $* ;;
|
domount) shift 1; do_mount $* ;;
|
||||||
|
Reference in New Issue
Block a user