diff options
author | Zbigniew JÄdrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-08-02 09:07:44 -0400 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-08-03 13:47:59 +0200 |
commit | bf00a00483cfa675ea665d6a0dd40d5629bc928a (patch) | |
tree | 8feb8c2af7f83edc6ee94e83d7a78432ef27dbc9 /sysconfig/network-scripts/ifup-eth | |
parent | a019e06a883665ebab24539247ce63bf558fe699 (diff) | |
download | initscripts-bf00a0048.tar initscripts-bf00a0048.tar.gz initscripts-bf00a0048.tar.bz2 initscripts-bf00a0048.tar.xz initscripts-bf00a0048.zip |
Replace /var/run with /run everywhere
https://bugzilla.redhat.com/show_bug.cgi?id=1471489
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 5096a5d8..68171e16 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -173,7 +173,7 @@ if [ -n "${BRIDGE}" ] && [ -x /usr/sbin/brctl ]; then done # Upon adding a device to a bridge, # it's necessary to make radvd reload its config - [ -r /var/run/radvd/radvd.pid ] && kill -HUP $(cat /var/run/radvd/radvd.pid) + [ -r /run/radvd/radvd.pid ] && kill -HUP $(cat /run/radvd/radvd.pid) exit 0 fi @@ -187,7 +187,7 @@ if [ -n "${DYNCONFIG}" ] && [ -x /sbin/dhclient ]; then generate_lease_file_name # Initialize the dhclient args and obtain the hostname options if needed: - DHCLIENTARGS="${DHCLIENTARGS} ${ONESHOT} -q ${DHCLIENTCONF} -lf ${LEASEFILE} -pf /var/run/dhclient-${DEVICE}.pid" + DHCLIENTARGS="${DHCLIENTARGS} ${ONESHOT} -q ${DHCLIENTCONF} -lf ${LEASEFILE} -pf /run/dhclient-${DEVICE}.pid" set_hostname_options DHCLIENTARGS echo @@ -332,7 +332,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then echo -n $"Determining IPv6 information for ${DEVICE}..." # Initialize the dhclient args for IPv6 and obtain the hostname options if needed: - DHCLIENTARGS="-6 -1 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf ${LEASEFILE} -pf /var/run/dhclient6-${DEVICE}.pid ${DEVICE}" + DHCLIENTARGS="-6 -1 ${DHCPV6C_OPTIONS} ${DHCLIENTCONF} -lf ${LEASEFILE} -pf /run/dhclient6-${DEVICE}.pid ${DEVICE}" set_hostname_options DHCLIENTARGS if /sbin/dhclient $DHCLIENTARGS; then |