Cross Reference: automount
xref: /src/etc/rc.d/automount
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/etc/rc.d/
automount revision 1.2
11.1Schristos#!/bin/sh
21.1Schristos#
31.2Snakayama# $NetBSD: automount,v 1.2 2019/08/07 19:30:00 nakayama Exp $
41.1Schristos#
51.1Schristos
61.1Schristos# PROVIDE: automount
71.1Schristos# REQUIRE: automountd
81.1Schristos# KEYWORD: nojail shutdown
91.1Schristos
101.2Snakayama$_rc_subr_loaded . /etc/rc.subr
111.1Schristos
121.1Schristosname="automount"
131.1Schristosrcvar="autofs"
141.1Schristosstart_cmd="automount_start"
151.1Schristosstop_cmd="automount_stop"
161.1Schristosrequired_modules="autofs"
171.1Schristos
181.1Schristosautomount_start()
191.1Schristos{
201.1Schristos
211.1Schristos	/usr/sbin/automount ${automount_flags}
221.1Schristos}
231.1Schristos
241.1Schristosautomount_stop()
251.1Schristos{
261.1Schristos
271.1Schristos	/sbin/umount -At autofs
281.1Schristos}
291.1Schristos
301.1Schristosload_rc_config $name
311.1Schristosrun_rc_command "$1"
32

Indexes created Mon Nov 10 17:20:41 GMT 2025