summarylogtreecommitdiffstats
path: root/smdev
diff options
context:
space:
mode:
authorPlaton Ryzhikov2018-12-26 22:03:05 +0300
committerPlaton Ryzhikov2018-12-26 22:03:05 +0300
commitfa880371bce15ce6fe6a8d14cce7eaf161f308ca (patch)
treebe8afbd3e7ca5bbcd7ff7f714927ff49a3e02081 /smdev
downloadaur-smdev-runit.tar.gz
Initial commit
Diffstat (limited to 'smdev')
-rw-r--r--smdev16
1 files changed, 16 insertions, 0 deletions
diff --git a/smdev b/smdev
new file mode 100644
index 00000000000..8639e144a7e
--- /dev/null
+++ b/smdev
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+. /usr/lib/rc/functions
+
+case "$1" in
+ start)
+ stat_busy "Triggering uevents"
+ smdev -s || stat_die
+ add_daemon smdev
+ stat_done
+ ;;
+ *)
+ echo "usage: $0 {start}"
+ exit 1
+ ;;
+esac