mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fixed permission error. Resolves #136
This commit is contained in:
parent
17e737792f
commit
b950a1966d
@ -98,7 +98,7 @@ function create_raspap_directories() {
|
||||
# Create a directory to store networking configs
|
||||
sudo mkdir -p "$raspap_dir/networking"
|
||||
# Copy existing dhcpcd.conf to use as base config
|
||||
cat /etc/dhcpcd.conf > "$raspap_dir/networking/defaults"
|
||||
cat /etc/dhcpcd.conf | sudo tee -a /etc/raspap/networking/defaults
|
||||
|
||||
sudo chown -R $raspap_user:$raspap_user "$raspap_dir" || install_error "Unable to change file ownership for '$raspap_dir'"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user