fix missing cfg error
This commit is contained in:
parent
00e079fc8f
commit
72187fd09a
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
source /boot/config/plugins/ipmitool-plugin/ipmitool-plugin.cfg
|
||||
if [ $SERVICE = enable ]; then
|
||||
/usr/local/emhttp/plugins/ipmitool-plugin/scripts/start
|
||||
CFGFILE="/boot/config/plugins/ipmitool-plugin/ipmitool-plugin.cfg"
|
||||
SERVICE="disable"
|
||||
if [ -f $CFGFILE ]; then
|
||||
source $CFGFILE
|
||||
if [ $SERVICE = enable ]; then
|
||||
/usr/local/emhttp/plugins/ipmitool-plugin/scripts/start
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user