Date: Thu, 02 Apr 2020 15:36:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 245283] sysutils/checkrestart: improve rc script Message-ID: <bug-245283-7788-Bj1JK8qmeZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-245283-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-245283-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245283 --- Comment #1 from Thomas Hurst <tom@hur.st> --- Whoops, could have sworn I changed it to %%PREFIX%% before submission. It's a periodic(8) script, so sourcing rc.subr and using checkyesno seems inappropriate - literally no other periodic script, neither in base nor por= ts, does so. The case statement is the de-facto standard way to do it. If there's to be something like this it should probably go in /etc/defaults/periodic.conf alongside check_yesno_period. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245283-7788-Bj1JK8qmeZ>