aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-10-24 15:29:22 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2016-10-24 15:29:22 -0700
commitfdf03428319c30a617edc160007fb8803d9e8158 (patch)
treee9651c417b7e5e58afcf1421b1f4d36f61d0f3ee /sh
parentsh/udhcpc-hook.sh: classless static routes (diff)
downloadnetifrc-fdf03428319c30a617edc160007fb8803d9e8158.tar.gz
netifrc-fdf03428319c30a617edc160007fb8803d9e8158.tar.bz2
netifrc-fdf03428319c30a617edc160007fb8803d9e8158.zip
Switch /var/run to /run.
Use /run directly, instead of /var/run, for starting any internal daemons. This allows netifrc to earlier, before /var is available. X-Gentoo-Bug: 545364 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=545364 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sh')
-rw-r--r--sh/udhcpc-hook.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in
index c756061..bd03859 100644
--- a/sh/udhcpc-hook.sh.in
+++ b/sh/udhcpc-hook.sh.in
@@ -113,8 +113,8 @@ deconfig()
fi
}
-if [ -r "/var/run/udhcpc-${interface}.conf" ]; then
- . "/var/run/udhcpc-${interface}.conf"
+if [ -r "/run/udhcpc-${interface}.conf" ]; then
+ . "/run/udhcpc-${interface}.conf"
fi
case "$1" in