From 41d1ea20e7f38d27001a39cfa996298a98a88503 Mon Sep 17 00:00:00 2001 From: ezdiy Date: Sun, 8 Dec 2019 22:32:21 +0100 Subject: [PATCH] Fix dialog orientation --- svc/bin/applysettings.app | 1 + svc/bin/sysstat.app | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/svc/bin/applysettings.app b/svc/bin/applysettings.app index 55f8d6f..17e2af7 100755 --- a/svc/bin/applysettings.app +++ b/svc/bin/applysettings.app @@ -1,4 +1,5 @@ #!/mnt/secure/su /bin/sh +iv2sh SetActiveTask `pidof settings.app` 0 export PATH=/mnt/secure/bin:$PATH dialog 1 "" "Do you really want restart the device?" "Yes" "No" if [ $? != 1 ]; then diff --git a/svc/bin/sysstat.app b/svc/bin/sysstat.app index 9cb2a48..ae3000f 100755 --- a/svc/bin/sysstat.app +++ b/svc/bin/sysstat.app @@ -1,4 +1,5 @@ #!/mnt/secure/su /bin/sh +iv2sh SetActiveTask `pidof settings.app` 0 ip=$(/sbin/ifconfig eth0 |grep 'inet addr' | sed -e 's/.*addr:\([^ ]*\).*/\1/g' | head -1) if [ "$ip" == "" ]; then ip="not connected" @@ -13,7 +14,7 @@ check dropbear SSHD check lighttpd HTTPD check smbd SMBD check proftpd FTPD -dialog 1 "" "Version: $(cat /mnt/secure/.pkgver)" +dialog 1 "" "Version: $(cat /mnt/secure/.pkgver) IP: $ip UP: $svcs Load: $(cut -d ' ' -f 1-3 < /proc/loadavg)