kopia lustrzana https://github.com/cyoung/stratux
Remove dhcpd file before creating new symlink.
rodzic
be93f4290c
commit
37911bc692
|
@ -1316,6 +1316,7 @@ func saveWiFiUserSettings() {
|
|||
if globalSettings.WiFiSmartEnabled {
|
||||
dhcpd_config = "/etc/dhcp/dhcpd-smart.conf"
|
||||
}
|
||||
os.Remove("/etc/dhcp/dhcpd.conf")
|
||||
os.Symlink(dhcpd_config, "/etc/dhcp/dhcpd.conf")
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue