From a8524d89cd9f825b146a6b5a826aa4db75620636 Mon Sep 17 00:00:00 2001 From: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Date: Sun, 22 Mar 2015 23:45:43 +0100 Subject: [PATCH] roofts_remaster: fix copying of static etc/ files --- scripts/rootfs_remaster.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rootfs_remaster.sh b/scripts/rootfs_remaster.sh index 9b4d444..067aaa8 100755 --- a/scripts/rootfs_remaster.sh +++ b/scripts/rootfs_remaster.sh @@ -120,13 +120,13 @@ function install_kde_defaults() function copy_modprobe_d() { - cp -r "$SCRIPT_DIR/contrib/modprobe.d/" "/etc/modprobe.d/" + cp "$SCRIPT_DIR/contrib/modprobe.d/"* "/etc/modprobe.d/" update-initramfs -u } function copy_sysctl_d() { - cp -r "$SCRIPT_DIR/contrib/sysctl.d/" "/etc/sysctl.d/" + cp "$SCRIPT_DIR/contrib/sysctl.d/"* "/etc/sysctl.d/" } function hold_packages() -- GitLab