aboutsummaryrefslogtreecommitdiff
path: root/init.d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/Makefile')
-rw-r--r--init.d/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/init.d/Makefile b/init.d/Makefile
index 29ebe590..b7490d38 100644
--- a/init.d/Makefile
+++ b/init.d/Makefile
@@ -5,11 +5,9 @@ SRCS= bootmisc.in fsck.in hostname.in local.in localmount.in netmount.in \
BIN= ${OBJS}
# Build our old net foo or not
-_OLDNET_SH= case "${MKOLDNET}" in \
- [Yy][Ee][Ss]) echo "net.lo";; \
- *) echo "";; \
- esac
-_OLDNET:= $(shell ${_OLDNET_SH})
+ifeq (${MKOLDNET},yes)
+_OLDNET= net.lo
+endif
_NET_LO= ${_OLDNET}
INSTALLAFTER= _installafter_${_NET_LO}