From 693d1659953bc8249de6ce6818389f44a998560c Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 4 Aug 2013 16:47:51 +0200 Subject: [PATCH] scripts/install: add support for system.d dirs Signed-off-by: Stephan Raue --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index b9cba45506..5e57ddc537 100755 --- a/scripts/install +++ b/scripts/install @@ -81,6 +81,11 @@ if [ -d $PKG_DIR/udev.d ]; then cp $PKG_DIR/udev.d/*.rules $INSTALL/lib/udev/rules.d fi +if [ -d $PKG_DIR/sysconf.d ]; then + mkdir -p $INSTALL/etc/sysconf.d + cp $PKG_DIR/sysconf.d/*.conf $INSTALL/etc/sysconf.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/