Updated sudoers to accomodate restarting dhcpcd to apply network settings.

Updated installer to insert new lines
Created files to generate / modify / save dhcpcd files and networking configuration
This commit is contained in:
Lawrence
2017-10-30 02:21:34 +08:00
parent db8e201624
commit 8d77295fd3
7 changed files with 126 additions and 45 deletions

View File

@@ -222,6 +222,7 @@ function patch_system_files() {
'/sbin/ip link set wlan0 down'
'/sbin/ip link set wlan0 up'
'/sbin/ip -s a f label wlan0'
'/bin/cp /etc/raspap/networking/dhcpcd.conf /etc/dhcpcd.conf'
)
# Check if sudoers needs patchin