diff options
Diffstat (limited to 'fw/lib/svc/mntfw')
| -rw-r--r-- | fw/lib/svc/mntfw | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/fw/lib/svc/mntfw b/fw/lib/svc/mntfw new file mode 100644 index 0000000..62eb2e5 --- /dev/null +++ b/fw/lib/svc/mntfw @@ -0,0 +1,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 |
