mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-08-03 06:38:24 +00:00
commit
57b97494de
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue