Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/etc/rc.d



Module Name:    src
Committed By:   snj
Date:           Mon Nov 21 07:29:26 UTC 2016

Modified Files:
        src/etc/rc.d [netbsd-7]: rtadvd

Log Message:
Pull up following revision(s) (requested by kre in ticket #1274):
        etc/rc.d/rtadvd: revision 1.9
The config file is not required to exist (unless specified via -c).
(reported by rhialto%falu.nl@localhost)  Don't fail to start if it doesn't.
Make sure the directory for the config file exists inside the chroot before
attempting to copy into it ("confdir" was calculated, but never used...)
While here, fix getopts usage (obviously only ever previously tested when
the -c arg was the first option...) and don't use test(1)'s -o operator
(especially not when one of the other args is an unknown string).
If -c is given (and we will chroot), require filename to be full path.
Misc minor style cleanups.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.6.1 src/etc/rc.d/rtadvd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index