Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Use /rescue/chown not chown from /usr/sbin which mi...
details: https://anonhg.NetBSD.org/src/rev/e815365d7bc4
branches: trunk
changeset: 760587:e815365d7bc4
user: haad <haad%NetBSD.org@localhost>
date: Sat Jan 08 16:16:51 2011 +0000
description:
Use /rescue/chown not chown from /usr/sbin which might not be available in
time of running this script.
XXX. Why is chown in /usr/sbin ? it should be moved to /sbin
diffstat:
etc/rc.d/mountcritlocal | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r db259752ffca -r e815365d7bc4 etc/rc.d/mountcritlocal
--- a/etc/rc.d/mountcritlocal Sat Jan 08 14:19:27 2011 +0000
+++ b/etc/rc.d/mountcritlocal Sat Jan 08 16:16:51 2011 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: mountcritlocal,v 1.11 2011/01/05 14:57:29 haad Exp $
+# $NetBSD: mountcritlocal,v 1.12 2011/01/08 16:16:51 haad Exp $
#
# PROVIDE: mountcritlocal
@@ -29,7 +29,7 @@
# group and has parmissions to allow lock file creation.
#
mkdir /var/run/lvm
- chown root:operator /var/run/lvm
+ /rescue/chown root:operator /var/run/lvm
chmod 770 /var/run/lvm
}
Home |
Main Index |
Thread Index |
Old Index