summaryrefslogtreecommitdiffstats
path: root/core/bin
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-20 16:11:19 +0200
committerSimon Rettberg2021-10-20 16:11:19 +0200
commitc2d8cd73b32f7fe54df4f46995f9460c2d0a6f26 (patch)
tree50be96f154878ca8e1fc80667e7125ed6874aa60 /core/bin
parent[vmchooser2] i3: Append (keine GUI) instead of replacing entire title (diff)
downloadmltk-c2d8cd73b32f7fe54df4f46995f9460c2d0a6f26.tar.gz
mltk-c2d8cd73b32f7fe54df4f46995f9460c2d0a6f26.tar.xz
mltk-c2d8cd73b32f7fe54df4f46995f9460c2d0a6f26.zip
[system-tweaks] Add module that sets desired sysctl options
Diffstat (limited to 'core/bin')
-rwxr-xr-xcore/bin/setup_target2
1 files changed, 1 insertions, 1 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"]}"