2008-01-10 22:05:59 +05:30
|
|
|
DIR= ${RC_LIB}/sh
|
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-02 03:42:33 +05:30
|
|
|
${INSTALL} -d ${DESTDIR}/${PREFIX}/etc/init.d
|
2008-01-03 20:19:34 +05:30
|
|
|
@# Provide an init script for the loopback interface
|
2008-02-28 16:38:49 +05:30
|
|
|
ln -snf ${RC_LIB}/sh/net.sh ${DESTDIR}/${PREFIX}/etc/init.d/${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-02-28 16:38:49 +05:30
|
|
|
ln -snf ${RC_LIB}/sh/functions.sh ${DESTDIR}/${PREFIX}/etc/init.d || exit $$?
|