diff options
author | Alex Dowad <alexinbeijing@gmail.com> | 2014-08-01 13:21:52 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-08-01 14:22:38 +0000 |
commit | 12fe9934d91ed9697c6aff5b9dc443f2e1fb8990 (patch) | |
tree | f8efabfcb6987f36a0bc998561fb07d57e739d34 /main/busybox-initscripts/default.script | |
parent | f18aa809ae0ac0355345b0ae420848b81b753511 (diff) | |
download | aports-12fe9934d91ed9697c6aff5b9dc443f2e1fb8990.tar.bz2 aports-12fe9934d91ed9697c6aff5b9dc443f2e1fb8990.tar.xz |
main/busybox-initscripts: avoid misleading error message from udhcp default.script
Diffstat (limited to 'main/busybox-initscripts/default.script')
-rw-r--r-- | main/busybox-initscripts/default.script | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/busybox-initscripts/default.script b/main/busybox-initscripts/default.script index f5d5f61b63..fcfaa1745e 100644 --- a/main/busybox-initscripts/default.script +++ b/main/busybox-initscripts/default.script @@ -123,6 +123,12 @@ case "$1" in $1 run_scripts $UDHCPC/post-$1 ;; + leasefail) + echo "udhcpc failed to get a DHCP lease" >&2 + ;; + nak) + echo "udhcpc received DHCP NAK" >&2 + ;; *) echo "Error: this script should be called from udhcpc" >&2 exit 1 |