File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 4343
4444shutil .copytree (srcdir / 'config/openbsd' , stagedir , dirs_exist_ok = True )
4545
46- copyTemplated (mydir .parent / 'wsddn.conf' , stagedir / 'etc/wsddn.conf.sample' , {
46+ copyTemplated (mydir .parent / 'wsddn.conf' , stagedir / 'etc/wsddn/wsddn .conf.sample' , {
4747 'SAMPLE_IFACE_NAME' : "em0" ,
4848 'RELOAD_INSTRUCTIONS' : """
4949# sudo rcctl reload wsddn
7676
7777(workdir / 'packinglist' ).write_text (
7878f"""
79- @mode go-w
79+ @owner 0
80+ @group 0
8081
8182@unexec if rcctl check wsddn > /dev/null 2>&1; then rcctl stop wsddn; fi
8283@unexec-delete rm -rf /var/run/wsddn.pid
8384@unexec-delete rm -rf /var/log/wsddn.*
8485
8586@mode 755
8687@bin usr/local/bin/wsddn
88+ @rcscript etc/rc.d/wsddn
89+ @dir etc/wsddn
8790
8891@mode 644
8992@man usr/local/man/man8/wsddn.8.gz
90- @file etc/wsddn.conf.sample
91- @sample etc/wsddn.conf
92- @rcscript etc/rc.d/wsddn
93+ @file etc/wsddn/wsddn.conf.sample
94+ @sample etc/wsddn/wsddn.conf
9395
9496@newgroup _wsddn:
9597@newuser _wsddn::_wsddn:daemon:WS-Discovery Daemon:/var/empty:/sbin/nologin
You can’t perform that action at this time.
0 commit comments