[BACK]Return to automountd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

File: [cvs.NetBSD.org] / src / etc / rc.d / automountd (download)

Revision 1.1, Tue Jan 9 03:31:14 2018 UTC (14 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, HEAD

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

#!/bin/sh
#
# $NetBSD: automountd,v 1.1 2018/01/09 03:31:14 christos Exp $
#

# PROVIDE: automountd
# REQUIRE: DAEMON
# KEYWORD: nojail

. /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"