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)