Re: [diff] rc.d/ntpd config test in new rc_pre()

2015-06-27 Thread Ingo Schwarze
Hi Craig, Craig Skinner wrote on Sat, Jun 27, 2015 at 02:24:18PM +0100: > Here's a diff for the ntpd rc script pre start, to check the config. I don't like that. It's not the job of the "start" action to check the configuration. Doing so is needless. When you edit any configuration file, you

[diff] rc.d/ntpd config test in new rc_pre()

2015-06-27 Thread Craig Skinner
Hello, Here's a diff for the ntpd rc script pre start, to check the config. Works (for me) with a non-default configuration file too. Test output below, with a deliberatly mangled alternate file. Index: ntpd === RCS file: /cvs/src