diff options
| -rwxr-xr-x | etc/postinstall | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/etc/postinstall b/etc/postinstall index 7829ad2a58b..b2b3dec2b4e 100755 --- a/etc/postinstall +++ b/etc/postinstall @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: postinstall,v 1.48 2003/01/16 15:26:14 minoura Exp $ +# $NetBSD: postinstall,v 1.49 2003/01/21 14:28:55 abs Exp $ # # Copyright (c) 2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -289,6 +289,23 @@ find_file_in_dirlist() # # +# rc +# +additem postinstall "/etc/postinstall being up to date" +do_postinstall() +{ + [ -n "$1" ] || err 2 "USAGE: do_postinstall fix|check" + op=$1 + failed=0 + + compare_dir ${op} ${SRC_DIR}/etc ${DEST_DIR}/etc 555 \ + postinstall + failed=$(( ${failed} + $? )) + + return ${failed} +} + +# # defaults # additem defaults "/etc/defaults/ being up to date" |
