a slightly more smart mount and udev using /bin/udevd. If you have systemd-udevd, link it there instead of changing the script
This commit is contained in:
parent
81c1a8a09c
commit
a589260459
|
@ -3,7 +3,10 @@
|
||||||
depends miscfs
|
depends miscfs
|
||||||
|
|
||||||
service_type='oneshot'
|
service_type='oneshot'
|
||||||
service_command='/bin/mount'
|
|
||||||
service_args='-a'
|
start() {
|
||||||
|
[[ -w / ]] || { mount -o remount,rw /; }
|
||||||
|
mount -a
|
||||||
|
}
|
||||||
|
|
||||||
unset stop
|
unset stop
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env watchman
|
#!/usr/bin/env watchman
|
||||||
|
|
||||||
service_command='/usr/lib/systemd/systemd-udevd'
|
service_command='/bin/udevd'
|
||||||
service_args='--resolve-names=never'
|
service_args='--resolve-names=never'
|
||||||
|
|
||||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user