From 213f5b9402797259817960515c058c5e49dafacb Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 8 Aug 2013 04:18:14 +0200 Subject: [PATCH] scripts/install: add support for 'modules-load.d' dirs Signed-off-by: Stephan Raue --- scripts/install | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/install b/scripts/install index 19f6028c9d..55a4214158 100755 --- a/scripts/install +++ b/scripts/install @@ -91,6 +91,11 @@ if [ -d $PKG_DIR/sysctl.d ]; then cp $PKG_DIR/sysctl.d/*.conf $INSTALL/usr/lib/sysctl.d/ fi +if [ -d $PKG_DIR/modules-load.d ]; then + mkdir -p $INSTALL/usr/lib/modules-load.d/ + cp $PKG_DIR/modules-load.d/*.conf $INSTALL/usr/lib/modules-load.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