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:
Jack L. Frost 2013-11-25 07:39:24 +04:00
parent 81c1a8a09c
commit a589260459
2 changed files with 6 additions and 3 deletions

View File

@ -3,7 +3,10 @@
depends miscfs
service_type='oneshot'
service_command='/bin/mount'
service_args='-a'
start() {
[[ -w / ]] || { mount -o remount,rw /; }
mount -a
}
unset stop

View File

@ -1,6 +1,6 @@
#!/usr/bin/env watchman
service_command='/usr/lib/systemd/systemd-udevd'
service_command='/bin/udevd'
service_args='--resolve-names=never'
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"