summaryrefslogtreecommitdiff
path: root/init.d/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2011-11-15 17:06:10 -0600
committerWilliam Hubbs <williamh@gentoo.org>2011-11-16 13:29:52 -0600
commit5994e55937cbbb71b1c22ad829b77a1bcd8c3793 (patch)
treefb48571a069d2a7b1024abd58e839d0410036837 /init.d/Makefile
parent3f2e9c4e1fa5587ec4f7ff07fbc5b5066c2d281e (diff)
downloadopenrc-5994e55937cbbb71b1c22ad829b77a1bcd8c3793.tar.gz
openrc-5994e55937cbbb71b1c22ad829b77a1bcd8c3793.tar.bz2
openrc-5994e55937cbbb71b1c22ad829b77a1bcd8c3793.tar.xz
Deprecate the network and staticroute scripts
These scripts are not supported, and they have several major design issues such as not being able to stop, start or allow a dependency on a single interface.
Diffstat (limited to 'init.d/Makefile')
-rw-r--r--init.d/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/init.d/Makefile b/init.d/Makefile
index de8428a..8351f3c 100644
--- a/init.d/Makefile
+++ b/init.d/Makefile
@@ -4,15 +4,9 @@ SRCS= bootmisc.in fsck.in hostname.in local.in localmount.in netmount.in \
sysctl.in urandom.in ${SRCS-${OS}}
BIN= ${OBJS}
-# Build our old net foo or not
-ifeq (${MKOLDNET},yes)
-_OLDNET= net.lo
-endif
-_NET_LO= ${_OLDNET}
-
-INSTALLAFTER= _installafter_${_NET_LO}
-CLEANFILES+= ${_NET_LO}
-TARGETS+= ${_NET_LO}
+INSTALLAFTER= _installafter_net.lo
+CLEANFILES+= net.lo
+TARGETS+= net.lo
MK= ../mk
include ${MK}/os.mk
@@ -45,4 +39,4 @@ include ${MK}/scripts.mk
_installafter_: realinstall
_installafter_net.lo: realinstall
- ${INSTALL} -m ${BINMODE} net.lo ${DESTDIR}/${INITDIR}/${NET_LO}
+ ${INSTALL} -m ${BINMODE} net.lo ${DESTDIR}/${INITDIR}/${NET_LO-${OS}}