Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc ssh: try renaming /etc/ssh/ssh{, d}.conf -> /etc/ssh/ssh{...
details: https://anonhg.NetBSD.org/src/rev/ba4ea67e0404
branches: trunk
changeset: 526247:ba4ea67e0404
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Apr 29 08:31:01 2002 +0000
description:
ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.
diffstat:
etc/postinstall | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r bf6f85d13089 -r ba4ea67e0404 etc/postinstall
--- a/etc/postinstall Mon Apr 29 08:23:34 2002 +0000
+++ b/etc/postinstall Mon Apr 29 08:31:01 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.6 2002/04/29 08:23:35 lukem Exp $
+# $NetBSD: postinstall,v 1.7 2002/04/29 08:31:01 lukem Exp $
#
# Copyright (c) 2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -318,15 +318,17 @@
fi
done
for f in sshd.conf ssh.conf ; do
- # /etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config
+ # /etc/ssh/ssh{,d}.conf -> ssh{,d}_config
+ #
if ! move_file ${op} \
- ${DEST_ETC}/${f} ${_etcssh}/${f%.conf}_config ;
+ ${_etcssh}/${f} ${_etcssh}/${f%.conf}_config ;
then
failed=1
fi
- # /etc/ssh/ssh{,d}.conf -> ssh{,d}_config
+ # /etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config
+ #
if ! move_file ${op} \
- ${_etcssh}/${f} ${_etcssh}/${f%.conf}_config ;
+ ${DEST_ETC}/${f} ${_etcssh}/${f%.conf}_config ;
then
failed=1
fi
Home |
Main Index |
Thread Index |
Old Index