aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts
diff options
context:
space:
mode:
authorAlex Dowad <alexinbeijing@gmail.com>2014-08-01 13:21:52 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-08-01 14:22:38 +0000
commit12fe9934d91ed9697c6aff5b9dc443f2e1fb8990 (patch)
treef8efabfcb6987f36a0bc998561fb07d57e739d34 /main/busybox-initscripts
parentf18aa809ae0ac0355345b0ae420848b81b753511 (diff)
downloadaports-12fe9934d91ed9697c6aff5b9dc443f2e1fb8990.tar.bz2
aports-12fe9934d91ed9697c6aff5b9dc443f2e1fb8990.tar.xz
main/busybox-initscripts: avoid misleading error message from udhcp default.script
Diffstat (limited to 'main/busybox-initscripts')
-rw-r--r--main/busybox-initscripts/APKBUILD2
-rw-r--r--main/busybox-initscripts/default.script6
2 files changed, 7 insertions, 1 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index da87088aa6..95b5dbfd56 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox-initscripts
pkgver=2.2
-pkgrel=22
+pkgrel=23
pkgdesc="Init scripts for busybox daemons"
url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
arch="noarch"
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