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