Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Rename etc/rc.d/llvmlockdir to lvmlockdir - it has ...
details: https://anonhg.NetBSD.org/src/rev/3e4acd3f5979
branches: trunk
changeset: 950364:3e4acd3f5979
user: martin <martin%NetBSD.org@localhost>
date: Tue Jan 26 13:31:19 2021 +0000
description:
Rename etc/rc.d/llvmlockdir to lvmlockdir - it has nothing to do with LLVM,
the name probably was a freudian slip of my fingers when I split that
fragment out of another rc.d script.
diffstat:
distrib/sets/lists/etc/mi | 5 +++--
etc/rc.d/llvmlockdir | 27 ---------------------------
etc/rc.d/lvmlockdir | 27 +++++++++++++++++++++++++++
3 files changed, 30 insertions(+), 29 deletions(-)
diffs (84 lines):
diff -r 16cbde2cd447 -r 3e4acd3f5979 distrib/sets/lists/etc/mi
--- a/distrib/sets/lists/etc/mi Tue Jan 26 10:50:20 2021 +0000
+++ b/distrib/sets/lists/etc/mi Tue Jan 26 13:31:19 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.264 2021/01/10 23:24:25 riastradh Exp $
+# $NetBSD: mi,v 1.265 2021/01/26 13:31:19 martin Exp $
#
# Note: end-user configuration files that are moved to another location
# should not be marked "obsolete"; they should just be removed from
@@ -247,10 +247,11 @@
./etc/rc.d/lkm1 etc-obsolete obsolete
./etc/rc.d/lkm2 etc-obsolete obsolete
./etc/rc.d/lkm3 etc-obsolete obsolete
-./etc/rc.d/llvmlockdir etc-sys-rc
+./etc/rc.d/llvmlockdir etc-obsolete obsolete
./etc/rc.d/local etc-sys-rc
./etc/rc.d/lpd etc-lpr-rc
./etc/rc.d/lvm etc-sys-rc
+./etc/rc.d/lvmlockdir etc-sys-rc
./etc/rc.d/makemandb etc-man-rc
./etc/rc.d/mdnsd etc-mdns-rc
./etc/rc.d/mixerctl etc-audio-rc
diff -r 16cbde2cd447 -r 3e4acd3f5979 etc/rc.d/llvmlockdir
--- a/etc/rc.d/llvmlockdir Tue Jan 26 10:50:20 2021 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,27 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: llvmlockdir,v 1.2 2020/09/08 12:52:18 martin Exp $
-#
-
-# REQUIRE: mountcritlocal
-# BEFORE: CRITLOCALMOUNTED
-
-$_rc_subr_loaded . /etc/rc.subr
-
-name="llvmlockdir"
-start_cmd="llvmlockdir_start"
-stop_cmd=":"
-
-llvmlockdir_start()
-{
- # create LVM locking directory, it needs to be owned by operator
- # group and has parmissions to allow lock file creation.
- #
- mkdir -p /var/run/lvm
- chown root:operator /var/run/lvm
- chmod 770 /var/run/lvm
- return 0
-}
-
-load_rc_config $name
-run_rc_command "$1"
diff -r 16cbde2cd447 -r 3e4acd3f5979 etc/rc.d/lvmlockdir
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/rc.d/lvmlockdir Tue Jan 26 13:31:19 2021 +0000
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# $NetBSD: lvmlockdir,v 1.1 2021/01/26 13:31:19 martin Exp $
+#
+
+# REQUIRE: mountcritlocal
+# BEFORE: CRITLOCALMOUNTED
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="lvmlockdir"
+start_cmd="lvmlockdir_start"
+stop_cmd=":"
+
+lvmlockdir_start()
+{
+ # create LVM locking directory, it needs to be owned by operator
+ # group and has parmissions to allow lock file creation.
+ #
+ mkdir -p /var/run/lvm
+ chown root:operator /var/run/lvm
+ chmod 770 /var/run/lvm
+ return 0
+}
+
+load_rc_config $name
+run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index