tazpanel diff boot.cgi @ rev 583

Add powersaving.cgi translations (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 10 12:11:05 2016 +0200 (2016-04-10)
parents 37371a0ba561
children b70dbd35b729
line diff
     1.1 --- a/boot.cgi	Sun Feb 14 10:14:04 2016 +0100
     1.2 +++ b/boot.cgi	Sun Apr 10 12:11:05 2016 +0200
     1.3 @@ -218,7 +218,7 @@
     1.4  			esac
     1.5  			echo "</td>"
     1.6  			# Attempt to get daemon status
     1.7 -			pidfile=$(find /run /var/run -name *$name*.pid)
     1.8 +			pidfile=$(find /run /var/run -maxdepth 2 -name *$name*.pid)
     1.9  			[ "$pidfile" ] && pid=$(cat $pidfile)
    1.10  			# Dbus
    1.11  			[ -f /var/run/${name}/pid ] && pid=$(cat /var/run/${name}/pid)