Skip to content

Commit

Permalink
Fix echo at Import Shares from smb.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoo2308 authored Apr 6, 2022
1 parent 5c87dfb commit 8d1377f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ To allow Cockpit File Sharing to manage existing shares defined in smb.conf, do
2. Ensure that `include = registry` is NOT present in smb.conf: `sed -i '/include = registry/d' /etc/samba/smb.conf`
2. Run `net conf import /etc/samba/smb.conf`
3. Check that your shares are now in the registry with `net conf list`
4. Replace contents of smb.conf: `echo "[Global]\n\tinclude = registry" > /etc/samba/smb.conf`
4. Replace contents of smb.conf: `echo -e "[Global]\n\tinclude = registry" > /etc/samba/smb.conf`
5. Restart Samba: `systemctl restart smb.service`

## NFS Manager
Expand Down

0 comments on commit 8d1377f

Please sign in to comment.