Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 171766

Summary: net-misc/dhcp - dhcrelay init.d script is not POSIX compliant
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: New packagesAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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