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