From f2c7faa749d27814660dc4c63afcdb49c2072b4a Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 6 Jul 2014 11:03:45 +0400 Subject: [PATCH] separating udev end eudev into different scripts --- init.d/udev | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 init.d/udev diff --git a/init.d/udev b/init.d/udev deleted file mode 100755 index 69ce9d4..0000000 --- a/init.d/udev +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env watchman - -source "${cfg_dir}/conf.d/udev.sh" - -cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}" - -depends devfs - -udev.populate_dev() { - watchman.msg "Populating /dev with udev..." - udevadm trigger --type=subsystems --action=add - udevadm trigger --type=devices --action=add - - watchman.msg "Waiting for uevents..." - udevadm settle --timeout=${cfg_udev_settle_timeout} - udevadm control --property=do_not_run_plug_service= -} - -start() { - watchman.start - sleep 1 - udev.populate_dev -} - -reload() { - udevadm control --reload -}