Skip to content

Commit 3fa86cf

Browse files
author
Patrick M
committed
add automount doc
1 parent e404a85 commit 3fa86cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_posts/2025-07-07-automount-systemd-service-.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ ExecStart=/root/remount-share.sh
6767
We can add the script to the root home directory. I like to put it here because system should be able to access it, and it exists alongside the credentials file.
6868

6969
```bash
70+
touch /home/root/remount-share.sh
71+
chmod +x /home/root/remount-share.sh
7072
nano /home/root/remount-share.sh
7173
```
7274

@@ -99,5 +101,5 @@ All of this has been scripted to make it more convenient.
99101
{: .prompt-warning }
100102

101103
```bash
102-
curl https://gist.githubusercontent.com/binarypatrick/c3bf8b572158655f438fa0843ffc9f2f/raw | sudo bash
104+
curl https://gist.githubusercontent.com/binarypatrick/d96331537d2976c3a05ce335b00697ca/raw | sudo bash -s -- "some_share_name"
103105
```

0 commit comments

Comments
 (0)