From 12fe9934d91ed9697c6aff5b9dc443f2e1fb8990 Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Fri, 1 Aug 2014 13:21:52 +0200 Subject: main/busybox-initscripts: avoid misleading error message from udhcp default.script --- main/busybox-initscripts/APKBUILD | 2 +- main/busybox-initscripts/default.script | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'main') 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 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 -- cgit v1.2.3