From 7bdc1d64e330143b4a32fcdc1b3e5133615dbbca Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 11 Oct 2010 15:55:29 +0200 Subject: [PATCH] scripts/install: add support for network init scripts (thanks to Wintemrute) Signed-off-by: Stephan Raue --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 41dd3bdde5..c1e911454f 100755 --- a/scripts/install +++ b/scripts/install @@ -27,6 +27,11 @@ if [ -d $PKG_DIR/profile.d ]; then cp $PKG_DIR/profile.d/*.conf $INSTALL/etc/profile.d/ fi +if [ -d $PKG_DIR/init.network ]; then + mkdir -p $INSTALL/etc/init.d/network + cp $PKG_DIR/init.network/* $INSTALL/etc/init.d/network/ +fi + $SCRIPTS/build $@ printf "%${INDENT}c INSTALL $1\n" >&$SILENT_OUT #dialog --infobox "%${INDENT}c INSTALL $1\n" 15 40