CVSROOT:        /cvs
Module name:    src
Changes by:     ajacou...@cvs.openbsd.org       2024/07/08 08:32:44

Modified files:
        usr.sbin/rcctl : rcctl.sh 

Log message:
Prevent rewriting /etc/rc.conf.local unconditionnally. Compare the new and old
ones and do nothing is they match.
This mean that "rcctl enable foobar" will not touch anything is foobar is
already enabled.

spotted by robert@ using Saltstack (that runs "rcctl enable ..." on a regular
basis).
ok robert@

Reply via email to