Pela Posted June 25, 2021 Share Posted June 25, 2021 想挂载虚拟群晖的硬盘,但是插件自动挂载选项貌似是开机就进行挂载,这时候虚拟群晖还没开机导致挂载不上,每次都要等一段时间手动点击mount,有没有办法通过脚本控制插件挂载? Quote Link to comment
kkkk Posted June 26, 2021 Share Posted June 26, 2021 我是用User Scripts,开机后,先用sleep 2m,等待2分钟,再通过/sbin/mount -t cifs 指令挂载群辉SMB的 Quote Link to comment
Pela Posted June 27, 2021 Author Share Posted June 27, 2021 23 hours ago, kkkk said: 我是用User Scripts,开机后,先用sleep 2m,等待2分钟,再通过/sbin/mount -t cifs 指令挂载群辉SMB的 我最开始的思路也是这样的,不过具体的脚本内容不知道该怎么写啊,直接 sleep 2m /sbin/mount -t cifs 吗 Quote Link to comment
kkkk Posted June 28, 2021 Share Posted June 28, 2021 9 hours ago, Pela said: 我最开始的思路也是这样的,不过具体的脚本内容不知道该怎么写啊,直接 sleep 2m /sbin/mount -t cifs 吗 是的,不过mount命令你自己补充完整 Quote Link to comment
Recommended Posts
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.