diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-18 23:52:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-18 23:52:02 +0000 |
commit | 4a9775defd979cb0f464bbb007a1b477b21bd53c (patch) | |
tree | a139df1633bf86852ebd627cccaa827e937ebe14 /etc/rc.securelevel | |
parent | 11c650bc64bd847ae8e8808fa816a6bd69d516f0 (diff) |
add toggle for ntpd
Diffstat (limited to 'etc/rc.securelevel')
-rw-r--r-- | etc/rc.securelevel | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.securelevel b/etc/rc.securelevel index 3380b9a3227..9e835ea7996 100644 --- a/etc/rc.securelevel +++ b/etc/rc.securelevel @@ -1,4 +1,4 @@ -# $OpenBSD: rc.securelevel,v 1.9 1998/03/25 23:08:12 deraadt Exp $ +# $OpenBSD: rc.securelevel,v 1.10 1998/09/18 23:52:01 deraadt Exp $ # # site-specific startup actions, daemons, and other things which # can be done BEFORE your system goes into securemode. For actions @@ -17,9 +17,9 @@ echo -n 'starting pre-securelevel daemons:' # Former ntpd versions was called xntpd, change the ntpd references below # to xntpd if you run such a version. -#if [ -x /usr/local/sbin/ntpd ]; then -# /usr/local/sbin/tickadj -Aq -# echo -n ' ntpd'; /usr/local/sbin/ntpd -#fi +if [ X"${ntpd}" == X"YES" -x /usr/local/sbin/ntpd ]; then + /usr/local/sbin/tickadj -Aq + echo -n ' ntpd'; /usr/local/sbin/ntpd +fi echo '.' |