summarylogtreecommitdiffstats
path: root/nltrigger.early
blob: ae018138c13c4847dc942ba2e18621e43003f196 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# sourcing our current rc.conf requires this to be a bash script
. /usr/lib/rc/functions

case "$1" in
    start)
        stat_busy "Triggering udev uevents"
        nltrigger add all
        ret=$?
        (( ret )) && stat_die nltrigger
        add_daemon nltrigger
        stat_done nltrigger
        ;;
    *)
        echo "usage: $0 {start}"
        exit 1
        ;;
esac