diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-17 08:35:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-17 08:35:43 +0000 |
commit | 72371c9cd5c29a1e2bdd6d7c68ac26c423180b36 (patch) | |
tree | d67fc9308cac1590a3eaf82f9039ef9192c17a60 /etc/security | |
parent | f3d060c7ca1e56ec605e35b4cdda5884d4c2d35a (diff) |
completely avoid master.passwd in the changelist processing; jbernard@tater.mines.edu
Diffstat (limited to 'etc/security')
-rw-r--r-- | etc/security | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security index b5345dcb55a..404c10d7cb2 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.23 1997/10/05 11:49:14 deraadt Exp $ +# $OpenBSD: security,v 1.24 1997/11/17 08:35:42 deraadt Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -572,7 +572,7 @@ fi # file is expected to have two backups, /var/backups/file.{current,backup}. # Any changes cause the files to rotate. if [ -s /etc/changelist ] ; then - for file in `cat /etc/changelist`; do + for file in `egrep -v "^#|$MP" /etc/changelist`; do CUR=/var/backups/`basename $file`.current BACK=/var/backups/`basename $file`.backup if [ -s $file ] ; then |