如何延迟挂载硬盘?


Recommended Posts

想挂载虚拟群晖的硬盘,但是插件自动挂载选项貌似是开机就进行挂载,这时候虚拟群晖还没开机导致挂载不上,每次都要等一段时间手动点击mount,有没有办法通过脚本控制插件挂载?

Link to comment
23 hours ago, kkkk said:

我是用User Scripts,开机后,先用sleep 2m,等待2分钟,再通过/sbin/mount -t cifs 指令挂载群辉SMB的

 

我最开始的思路也是这样的,不过具体的脚本内容不知道该怎么写啊,直接

sleep 2m

/sbin/mount -t cifs 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.