mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
commit
57b97494de
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user