Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171766 - net-misc/dhcp - dhcrelay init.d script is not POSIX compliant
Summary: net-misc/dhcp - dhcrelay init.d script is not POSIX compliant
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 10:16 UTC by Natanael Copa
Modified: 2007-03-22 15:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2007-03-22 10:16:46 UTC
trivial fix:

--- dhcrelay.init.orig  Thu Mar 22 10:04:43 2007
+++ dhcrelay.init       Thu Mar 22 10:06:20 2007
@@ -9,7 +9,7 @@
 }
 
 start() {
-       if [[ -z ${DHCRELAY_SERVERS} ]]; then
+       if [ -z "${DHCRELAY_SERVERS}" ]; then
                eerror "No DHCRELAY_SERVERS specified in /etc/conf.d/dhcrelay"
                return 1
        fi
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-03-22 15:37:29 UTC
Fixed, thanks