From d2a35a6f1892b6bcf20a9d824c1bec89898b06b5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Aug 2016 15:29:24 +0200 Subject: main/openrc: fix sysfsconf load order the directory is so packages can ship config. User may want override those in the config file so we let the config file win. This is also consistent with sysctl. --- main/openrc/sysfsconf.initd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/openrc/sysfsconf.initd') diff --git a/main/openrc/sysfsconf.initd b/main/openrc/sysfsconf.initd index cefc3595dd..433e51d639 100644 --- a/main/openrc/sysfsconf.initd +++ b/main/openrc/sysfsconf.initd @@ -56,7 +56,7 @@ load_conffile() { start() { [ -r "$conffile" -o -d "$confdir" ] || return 0 ebegin "Setting sysfs variables" - for file in $conffile $confdir/*.conf; do + for file in $confdir/*.conf $conffile; do [ -r "$file" ] || continue load_conffile "$file" || return 1 done -- cgit v1.2.3