summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ethernet.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ethernet.subr b/src/ethernet.subr
index ca694b7..3f960d5 100644
--- a/src/ethernet.subr
+++ b/src/ethernet.subr
@@ -63,6 +63,10 @@ ethernet_up() {
fi
fi
;;
+ *)
+ err_append "Profile error: IP must be either 'dhcp' or 'static'"
+ return 1
+ ;;
esac
# set the hostname