more configure fixes
This commit is contained in:
@@ -191,6 +191,8 @@ setup_files() {
|
||||
sudo install -d -o "$USER" -g "$(id -gn)" "$MOUNT" || return 1
|
||||
if ! grep -qs " $MOUNT davfs " /etc/fstab; then
|
||||
echo "$WEBDAV $MOUNT davfs rw,user,noauto,uid=$USER,_netdev 0 0" | sudo tee -a /etc/fstab > /dev/null || return 1
|
||||
# Otherwise mount warns that systemd is still using the old fstab
|
||||
sudo systemctl daemon-reload
|
||||
fi
|
||||
if ! id -nG "$USER" | grep -qw network; then
|
||||
sudo usermod -aG network "$USER" || return 1
|
||||
|
||||
Reference in New Issue
Block a user