diff options
author | James Rayner <james@archlinux.org> | 2008-02-13 10:26:51 +0100 |
---|---|---|
committer | James Rayner <james@archlinux.org> | 2008-02-13 10:26:51 +0100 |
commit | 8961a82f09a19bb65866ac33c1c95d7d0b7edcac (patch) | |
tree | 13d0a60510b15e41867b58402a5288c24a96b04c /src/ethernet.subr | |
parent | a84b7ab965218f6320c9f95284c03bfddd761fdd (diff) | |
download | netctl-8961a82f09a19bb65866ac33c1c95d7d0b7edcac.tar.gz netctl-8961a82f09a19bb65866ac33c1c95d7d0b7edcac.tar.xz |
Catch invalid profiles FS9423
Diffstat (limited to 'src/ethernet.subr')
-rw-r--r-- | src/ethernet.subr | 4 |
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 |