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
|
# CONFIG
|
||||||
################################
|
################################
|
||||||
# remove files from this line to the end
|
# 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
|
# restore this line
|
||||||
cat >> /etc/samba/smb.conf <<EOF
|
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
|
EOF
|
||||||
|
|
||||||
# create a share per Nextcloud user
|
# create a share per Nextcloud user
|
||||||
|
|
Loading…
Reference in a new issue