tazpanel diff boot.cgi @ rev 578
Tiny edit
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Apr 04 19:09:35 2016 +0100 (2016-04-04) |
parents | a15373a181ff |
children | 21f625d5ebbb |
line diff
1.1 --- a/boot.cgi Thu Dec 10 04:11:45 2015 +0200 1.2 +++ b/boot.cgi Mon Apr 04 19:09:35 2016 +0100 1.3 @@ -218,7 +218,7 @@ 1.4 esac 1.5 echo "</td>" 1.6 # Attempt to get daemon status 1.7 - pidfile=$(find /var/run -name *$name*.pid) 1.8 + pidfile=$(find /run /var/run -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)