summaryrefslogtreecommitdiff
path: root/rule_generator
diff options
context:
space:
mode:
Diffstat (limited to 'rule_generator')
-rw-r--r--rule_generator/write_cd_rules.in (renamed from rule_generator/write_cd_rules)4
-rw-r--r--rule_generator/write_net_rules.in (renamed from rule_generator/write_net_rules)4
2 files changed, 4 insertions, 4 deletions
diff --git a/rule_generator/write_cd_rules b/rule_generator/write_cd_rules.in
index 00382ada2f..2b00a32558 100644
--- a/rule_generator/write_cd_rules
+++ b/rule_generator/write_cd_rules.in
@@ -27,9 +27,9 @@ if [ -n "$UDEV_LOG" ]; then
fi
fi
-RULES_FILE="/etc/udev/rules.d/70-persistent-cd.rules"
+RULES_FILE="@udevconfdir@/rules.d/70-persistent-cd.rules"
-. /lib/udev/rule_generator.functions
+. @udevlibexecdir@/rule_generator.functions
find_next_available() {
raw_find_next_available "$(find_all_rules 'SYMLINK\+=' "$1")"
diff --git a/rule_generator/write_net_rules b/rule_generator/write_net_rules.in
index 437979241f..324e97821c 100644
--- a/rule_generator/write_net_rules
+++ b/rule_generator/write_net_rules.in
@@ -38,9 +38,9 @@ if [ -n "$UDEV_LOG" ]; then
fi
fi
-RULES_FILE='/etc/udev/rules.d/70-persistent-net.rules'
+RULES_FILE='@udevconfdir@/rules.d/70-persistent-net.rules'
-. /lib/udev/rule_generator.functions
+. @udevlibexecdir@/rule_generator.functions
interface_name_taken() {
local value="$(find_all_rules 'NAME=' $INTERFACE)"