Module Name:    src
Committed By:   sborrill
Date:           Fri Nov 26 12:51:24 UTC 2021

Modified Files:
        src/etc/rc.d: bluetooth envsys fccache.in ldconfig quota

Log Message:
Use rcvar=$name syntax consistently in rc.d scripts which makes it easier to
search for rc.d scripts where rcvar differs from name. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/etc/rc.d/bluetooth
cvs rdiff -u -r1.4 -r1.5 src/etc/rc.d/envsys src/etc/rc.d/fccache.in
cvs rdiff -u -r1.8 -r1.9 src/etc/rc.d/ldconfig
cvs rdiff -u -r1.5 -r1.6 src/etc/rc.d/quota

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/rc.d/bluetooth
diff -u src/etc/rc.d/bluetooth:1.1 src/etc/rc.d/bluetooth:1.2
--- src/etc/rc.d/bluetooth:1.1	Fri May 27 09:28:42 2011
+++ src/etc/rc.d/bluetooth	Fri Nov 26 12:51:24 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: bluetooth,v 1.1 2011/05/27 09:28:42 plunky Exp $
+# $NetBSD: bluetooth,v 1.2 2021/11/26 12:51:24 sborrill Exp $
 #
 
 # PROVIDE: bluetooth
@@ -10,7 +10,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="bluetooth"
-rcvar=${name}
+rcvar=$name
 start_cmd="bluetooth_start"
 stop_cmd="bluetooth_stop"
 

Index: src/etc/rc.d/envsys
diff -u src/etc/rc.d/envsys:1.4 src/etc/rc.d/envsys:1.5
--- src/etc/rc.d/envsys:1.4	Sun Oct  7 05:30:56 2007
+++ src/etc/rc.d/envsys	Fri Nov 26 12:51:24 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: envsys,v 1.4 2007/10/07 05:30:56 xtraeme Exp $
+# $NetBSD: envsys,v 1.5 2021/11/26 12:51:24 sborrill Exp $
 #
 
 # PROVIDE: envsys
@@ -9,7 +9,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="envsys"
-rcvar=${name}
+rcvar=$name
 command="/usr/sbin/envstat"
 required_files="/etc/envsys.conf"
 start_cmd="do_start"
Index: src/etc/rc.d/fccache.in
diff -u src/etc/rc.d/fccache.in:1.4 src/etc/rc.d/fccache.in:1.5
--- src/etc/rc.d/fccache.in:1.4	Sat Jul  4 06:24:53 2020
+++ src/etc/rc.d/fccache.in	Fri Nov 26 12:51:24 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: fccache.in,v 1.4 2020/07/04 06:24:53 skrll Exp $
+# $NetBSD: fccache.in,v 1.5 2021/11/26 12:51:24 sborrill Exp $
 #
 
 # PROVIDE: fccache
@@ -10,7 +10,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="fccache"
-rcvar=${name}
+rcvar=$name
 command="@X11ROOTDIR@/bin/fc-cache"
 start_cmd="fccache_start"
 stop_cmd=":"

Index: src/etc/rc.d/ldconfig
diff -u src/etc/rc.d/ldconfig:1.8 src/etc/rc.d/ldconfig:1.9
--- src/etc/rc.d/ldconfig:1.8	Fri Aug 13 18:08:03 2004
+++ src/etc/rc.d/ldconfig	Fri Nov 26 12:51:24 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: ldconfig,v 1.8 2004/08/13 18:08:03 mycroft Exp $
+# $NetBSD: ldconfig,v 1.9 2021/11/26 12:51:24 sborrill Exp $
 #
 
 # PROVIDE: ldconfig
@@ -10,7 +10,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="ldconfig"
-rcvar="ldconfig"
+rcvar=$name
 ldconfig_command="/sbin/ldconfig"
 start_cmd="ldconfig_start"
 stop_cmd=":"

Index: src/etc/rc.d/quota
diff -u src/etc/rc.d/quota:1.5 src/etc/rc.d/quota:1.6
--- src/etc/rc.d/quota:1.5	Fri Aug 13 18:08:03 2004
+++ src/etc/rc.d/quota	Fri Nov 26 12:51:24 2021
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: quota,v 1.5 2004/08/13 18:08:03 mycroft Exp $
+# $NetBSD: quota,v 1.6 2021/11/26 12:51:24 sborrill Exp $
 #
 
 # PROVIDE: quota
@@ -10,7 +10,7 @@
 $_rc_subr_loaded . /etc/rc.subr
 
 name="quota"
-rcvar="quota"
+rcvar=$name
 start_cmd="quota_start"
 stop_cmd="/usr/sbin/quotaoff -a"
 

Reply via email to