2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #509 from lr1980/patch-1

Update powered_up_
This commit is contained in:
Steve Schnepp 2014-08-04 17:19:32 +02:00
commit 57b97494de

View File

@ -2,7 +2,10 @@
#%# family=auto
#%# capabilities=autoconf suggest
device=`echo $0 | cut -d _ -f 3`
device=`basename $0 | sed 's/^powered_up_//g'`
if [ ! -e /dev/$device ]; then
device="disk/by-id/$device"
fi
case $1 in
config)