scripts/install: add support for network init scripts (thanks to Wintemrute)

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-11 15:55:29 +02:00
parent d6892b1473
commit 7bdc1d64e3

View File

@ -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