Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/postinstall Move dhcpcd's rdm monotonic file if it ...
details: https://anonhg.NetBSD.org/src/rev/c8a673514214
branches: trunk
changeset: 352451:c8a673514214
user: roy <roy%NetBSD.org@localhost>
date: Sat Apr 01 20:03:31 2017 +0000
description:
Move dhcpcd's rdm monotonic file if it exists.
diffstat:
usr.sbin/postinstall/postinstall | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r dcae29d059cd -r c8a673514214 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall Sat Apr 01 19:57:54 2017 +0000
+++ b/usr.sbin/postinstall/postinstall Sat Apr 01 20:03:31 2017 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall,v 1.211 2017/04/01 19:14:10 roy Exp $
+# $NetBSD: postinstall,v 1.212 2017/04/01 20:03:31 roy Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -904,6 +904,11 @@
"${DEST_DIR}/var/db/dhcpcd/secret"
failed=$(( ${failed} + $? ))
+ move_file "${op}" \
+ "${DEST_DIR}/var/db/dhcpcd-rdm.monotonic" \
+ "${DEST_DIR}/var/db/dhcpcd/rdm_monotonic"
+ failed=$(( ${failed} + $? ))
+
return ${failed}
}
Home |
Main Index |
Thread Index |
Old Index