NetBSD/etc/rc.d/devpubd
riz 6fc3b870af Create and install an rc.d file for devpubd - a daemon to listen
on drvctl and autocreate device nodes in /dev for those which don't have any.
Set the default to "NO" for now.
2011-09-06 21:32:29 +00:00

18 lines
251 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: devpubd,v 1.1 2011/09/06 21:32:29 riz Exp $
#
# PROVIDE: devpubd
# REQUIRE: DAEMON
# BEFORE: LOGIN
$_rc_subr_loaded . /etc/rc.subr
name="devpubd"
rcvar=$name
command="/sbin/${name}"
load_rc_config $name
run_rc_command "$1"