summaryrefslogtreecommitdiff
path: root/fw/lib/svc/mntfw
blob: 62eb2e597f0178acb4d82dd4439880b6b01eb9c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# The control directories fw mounts on.
#
# mount(2) needs its mount point to exist, and the mntgen serving /mnt
# only makes names one level deep -- /mnt/fw appears by itself, but
# /mnt/fw/ether0 does not, and that is what fw is told to mount on.  So
# a second mntgen, over /mnt/fw, and every fw needs it.
#
# It is a file server: it posts its name and the process that started it
# exits, so what is watched is the /srv name.
#
svc=mntfw
	exec=/bin/mntgen
	args=-s
	args=mntfw
	args=/mnt/fw
	ready=srv:mntfw
	restart=always
	enable=yes