diff options
-rwxr-xr-x | core/bin/setup_target | 2 | ||||
-rw-r--r-- | core/modules/system-tweaks/data/etc/sysctl.d/90-openslx.conf (renamed from core/modules/systemd/data/lib/sysctl.d/50-default.conf) | 9 | ||||
-rw-r--r-- | core/modules/system-tweaks/module.build | 0 | ||||
-rw-r--r-- | core/modules/system-tweaks/module.conf | 0 | ||||
l--------- | core/targets/bwlp/system-tweaks | 1 |
5 files changed, 2 insertions, 10 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target index 5ad316b4..4ea9b824 100755 --- a/core/bin/setup_target +++ b/core/bin/setup_target @@ -352,7 +352,7 @@ scan_target() { [ -L "$item" ] || continue base="$( basename "$item" )" real="$( readlink -f "$item" )" - if [ -s "$item/module.conf" ]; then + if [ -f "$item/module.conf" ]; then if [ -n "${MODULE_PATHS["$base"]}" ] \ && [ "${MODULE_PATHS["$base"]}" != "$real" ]; then perror "$base exists in multiple sub-targets and links to different modules\n1: $real\n2: ${MODULE_PATHS["$base"]}" diff --git a/core/modules/systemd/data/lib/sysctl.d/50-default.conf b/core/modules/system-tweaks/data/etc/sysctl.d/90-openslx.conf index 6ece04ce..19752768 100644 --- a/core/modules/systemd/data/lib/sysctl.d/50-default.conf +++ b/core/modules/system-tweaks/data/etc/sysctl.d/90-openslx.conf @@ -1,12 +1,3 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -# See sysctl.d(5) and core(5) for for details. - # System Request functionality of the kernel (SYNC) kernel.sysrq = 1 diff --git a/core/modules/system-tweaks/module.build b/core/modules/system-tweaks/module.build new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/core/modules/system-tweaks/module.build diff --git a/core/modules/system-tweaks/module.conf b/core/modules/system-tweaks/module.conf new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/core/modules/system-tweaks/module.conf diff --git a/core/targets/bwlp/system-tweaks b/core/targets/bwlp/system-tweaks new file mode 120000 index 00000000..5295159d --- /dev/null +++ b/core/targets/bwlp/system-tweaks @@ -0,0 +1 @@ +../../modules/system-tweaks
\ No newline at end of file |