watchman -> ssm

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2017-07-13 16:09:42 +03:00
parent 3953df0dba
commit 2205f72a2e
71 changed files with 198 additions and 212 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env watchman
#!/usr/bin/env ssm
#service_respawn='true'
service_command='/usr/lib/systemd/systemd-udevd'
@@ -6,11 +6,11 @@ service_command='/usr/lib/systemd/systemd-udevd'
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
udev.populate_dev() {
watchman.msg "Populating /dev with udev..."
prinft 'Populating /dev with udev...\n'
udevadm trigger --type=subsystems --action=add
udevadm trigger --type=devices --action=add
watchman.msg "Waiting for uevents..."
printf 'Waiting for uevents...\n'
udevadm settle --timeout=${cfg_udev_settle_timeout}
udevadm control --property=do_not_run_plug_service=
}