NetBSD/etc/rc.d/automountd

20 lines
330 B
Bash
Executable File

#!/bin/sh
#
# $NetBSD: automountd,v 1.2 2019/08/07 19:30:00 nakayama Exp $
#
# PROVIDE: automountd
# REQUIRE: DAEMON
# KEYWORD: nojail
$_rc_subr_loaded . /etc/rc.subr
name="automountd"
rcvar="autofs"
pidfile="/var/run/${name}.pid"
command="/usr/sbin/${name}"
required_modules="autofs"
load_rc_config $name
run_rc_command "$1"