diff options
author | 2016-10-24 15:29:22 -0700 | |
---|---|---|
committer | 2016-10-24 15:29:22 -0700 | |
commit | fdf03428319c30a617edc160007fb8803d9e8158 (patch) | |
tree | e9651c417b7e5e58afcf1421b1f4d36f61d0f3ee /sh | |
parent | sh/udhcpc-hook.sh: classless static routes (diff) | |
download | netifrc-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.in | 4 |
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 |