|
@@ -73,7 +73,7 @@ do_start() {
|
|
# We exit if the user does not want us to try this.
|
|
# We exit if the user does not want us to try this.
|
|
if [ "$INTERFACES" = "none" ]
|
|
if [ "$INTERFACES" = "none" ]
|
|
then
|
|
then
|
|
- echo "INTERFACES='none' in /etc/default/aoetools, not started."
|
|
|
|
|
|
+ log_action_msg "INTERFACES='none' in /etc/default/aoetools, not started."
|
|
exit 0
|
|
exit 0
|
|
fi
|
|
fi
|
|
|
|
|
|
@@ -91,10 +91,7 @@ do_start() {
|
|
|
|
|
|
if [ ! -c /dev/etherd/discover ]
|
|
if [ ! -c /dev/etherd/discover ]
|
|
then
|
|
then
|
|
- echo
|
|
|
|
- echo "Missing devices under /dev/etherd/. Please run" >&2
|
|
|
|
- echo " aoe-mkdevs /dev/etherd" >&2
|
|
|
|
- echo "and try again." >&2
|
|
|
|
|
|
+ log_failure_msg "Missing devices under /dev/etherd/. Please run aoe-mkdevs /dev/etherd and try again." >&2
|
|
exit 1
|
|
exit 1
|
|
fi
|
|
fi
|
|
|
|
|