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.
This commit is contained in:
martin 2021-01-26 13:31:19 +00:00
parent fcd4e45f74
commit 9869002d85
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: llvmlockdir,v 1.2 2020/09/08 12:52:18 martin Exp $
# $NetBSD: lvmlockdir,v 1.1 2021/01/26 13:31:19 martin Exp $
#
# REQUIRE: mountcritlocal
@ -8,11 +8,11 @@
$_rc_subr_loaded . /etc/rc.subr
name="llvmlockdir"
start_cmd="llvmlockdir_start"
name="lvmlockdir"
start_cmd="lvmlockdir_start"
stop_cmd=":"
llvmlockdir_start()
lvmlockdir_start()
{
# create LVM locking directory, it needs to be owned by operator
# group and has parmissions to allow lock file creation.