Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Add defaults for pkg_info and pkg_admin variables in cas...
details: https://anonhg.NetBSD.org/src/rev/95ecf8d7ccfe
branches: trunk
changeset: 789803:95ecf8d7ccfe
user: prlw1 <prlw1%NetBSD.org@localhost>
date: Sun Sep 08 08:19:40 2013 +0000
description:
Add defaults for pkg_info and pkg_admin variables in case pkgpath.conf
is not installed.
diffstat:
etc/daily | 5 ++++-
etc/security | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (40 lines):
diff -r 8157ae084669 -r 95ecf8d7ccfe etc/daily
--- a/etc/daily Sun Sep 08 06:37:23 2013 +0000
+++ b/etc/daily Sun Sep 08 08:19:40 2013 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: daily,v 1.89 2013/05/01 05:36:25 agc Exp $
+# $NetBSD: daily,v 1.90 2013/09/08 08:19:40 prlw1 Exp $
# @(#)daily 8.2 (Berkeley) 1/25/94
#
@@ -18,6 +18,9 @@
date="$(date)"
rcvar_manpage='daily.conf(5)'
+pkg_admin=${pkg_admin:-/usr/sbin/pkg_admin}
+pkg_info=${pkg_info:-/usr/sbin/pkg_info}
+
echo "To: ${MAILTO:-root}"
echo "Subject: $host daily output for $date"
echo ""
diff -r 8157ae084669 -r 95ecf8d7ccfe etc/security
--- a/etc/security Sun Sep 08 06:37:23 2013 +0000
+++ b/etc/security Sun Sep 08 08:19:40 2013 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: security,v 1.112 2013/05/01 05:36:25 agc Exp $
+# $NetBSD: security,v 1.113 2013/09/08 08:19:40 prlw1 Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -30,6 +30,7 @@
backup_dir=${backup_dir:-/var/backups}
max_loginlen=${max_loginlen:-8}
max_grouplen=${max_grouplen:-8}
+pkg_admin=${pkg_admin:-/usr/sbin/pkg_admin}
pkg_info=${pkg_info:-/usr/sbin/pkg_info}
# Other configurable variables
Home |
Main Index |
Thread Index |
Old Index