2008-01-10 16:35:59 +00:00
|
|
|
DIR= ${RC_LIB}/sh
|
2008-03-03 12:34:51 +00:00
|
|
|
SRCS= functions.sh.in gendepends.sh.in net.sh.in \
|
|
|
|
rc-functions.sh.in runscript.sh.in
|
2008-02-27 20:29:32 +00:00
|
|
|
INC= init-common-post.sh rc-mount.sh functions.sh rc-functions.sh
|
2008-01-10 16:35:59 +00:00
|
|
|
BIN= gendepends.sh net.sh runscript.sh
|
2007-04-05 11:18:42 +00:00
|
|
|
|
2008-01-13 17:49:29 +00:00
|
|
|
INSTALLAFTER= _installafter
|
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
MK= ../mk
|
2008-01-03 15:48:33 +00:00
|
|
|
# To get NET_LO
|
2008-01-10 16:35:59 +00:00
|
|
|
include ${MK}/os.mk
|
|
|
|
include Makefile.${SUBOS}
|
2008-01-10 16:57:05 +00:00
|
|
|
include ${MK}/scripts.mk
|
|
|
|
|
2008-01-10 16:35:59 +00:00
|
|
|
_installafter:
|
2008-03-05 12:27:11 +00:00
|
|
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/${INITDIR}
|
2008-01-03 14:49:34 +00:00
|
|
|
@# Provide an init script for the loopback interface
|
2008-03-05 12:27:11 +00:00
|
|
|
ln -snf ${PREFIX}/${RC_LIB}/sh/net.sh ${DESTDIR}/${PREFIX}/${INITDIR}/${NET_LO} || exit $$?
|
2008-01-10 16:35:59 +00:00
|
|
|
@# Put functions.sh into the init.d dir so 3rd party apps don't have to
|
2008-01-03 14:49:34 +00:00
|
|
|
@# be multilib aware
|
2008-03-05 12:27:11 +00:00
|
|
|
ln -snf ${PREFIX}/${RC_LIB}/sh/functions.sh ${DESTDIR}/${PREFIX}/${INITDIR} || exit $$?
|