diff options
Diffstat (limited to 'src/lib/dhcp')
-rw-r--r-- | src/lib/dhcp/dhclient | 1 | ||||
-rw-r--r-- | src/lib/dhcp/dhcpcd | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dhcp/dhclient b/src/lib/dhcp/dhclient index 42b5f14..5dc637c 100644 --- a/src/lib/dhcp/dhclient +++ b/src/lib/dhcp/dhclient @@ -13,6 +13,7 @@ dhclient_start() { report_error "DHCP IPv$1 lease attempt failed on interface '$Interface'" return 1 fi + chmod 644 "$pidfile" } dhclient_stop() { diff --git a/src/lib/dhcp/dhcpcd b/src/lib/dhcp/dhcpcd index 42f33ef..c729c08 100644 --- a/src/lib/dhcp/dhcpcd +++ b/src/lib/dhcp/dhcpcd @@ -14,6 +14,7 @@ dhcpcd_start() { report_error "DHCP IP lease attempt failed on interface '$Interface'" return 1 fi + chmod 644 "/run/dhcpcd-$Interface.pid" } dhcpcd_stop() { |