From 8d1377fc2f3835fa47acd8fd33306b2da5c78bd4 Mon Sep 17 00:00:00 2001 From: Danny Goossen Date: Wed, 6 Apr 2022 11:47:58 +0700 Subject: [PATCH] Fix echo at Import Shares from smb.conf --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 37c08e9..4e82449 100644 --- a/README.md +++ b/README.md @@ -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