Fix inserted comment in smb.conf
This commit is contained in:
parent
e02566eca1
commit
1860bdf6ae
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@
|
|||
# CONFIG
|
||||
################################
|
||||
# remove files from this line to the end
|
||||
sed -i '/# NextCloud automatically/,/\$/d' /etc/samba/smb.conf
|
||||
sed -i '/# NextCloudSmb automatically/,/\$/d' /etc/samba/smb.conf
|
||||
|
||||
# restore this line
|
||||
cat >> /etc/samba/smb.conf <<EOF
|
||||
# NextCloudPi automatically generated from here. Do not remove this comment
|
||||
# NextCloudSmb automatically generated from here. Do not remove this comment
|
||||
EOF
|
||||
|
||||
# create a share per Nextcloud user
|
||||
|
|
Loading…
Reference in a new issue