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 /sys add 0 ret=$? (( ret )) && stat_die nltrigger add_daemon nltrigger stat_done nltrigger ;; *) echo "usage: $0 {start}" exit 1 ;; esac