]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
RC -> BRC
authorRoy Marples <roy@marples.name>
Fri, 9 Nov 2007 17:02:38 +0000 (17:02 +0000)
committerRoy Marples <roy@marples.name>
Fri, 9 Nov 2007 17:02:38 +0000 (17:02 +0000)
Makefile
config.h
dhcpcd.c

index a8fd87bc0f0fa238df0d538e4b92cc65cac2d809..8f2ba4adb4670c402d892165e795cffa76b8f5e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -62,8 +62,8 @@ _HAVE_FORK_SH = if [ "$(HAVE_FORK)" = "yes" ]; then \
 _HAVE_FORK != $(_HAVE_FORK_SH)
 FORK = $(_HAVE_FORK)$(shell $(_HAVE_FORK_SH))
 
-# Work out if we use ORC or RC
-_RC_SH = if [ -d /etc/init.d ]; then echo "-DENABLE_ORC"; elif [ -d /etc/rc.d ]; then echo "-DENABLE_RC"; fi
+# Work out if we use Open RC or BSD RC
+_RC_SH = if [ -d /etc/init.d ]; then echo "-DENABLE_ORC"; elif [ -d /etc/rc.d ]; then echo "-DENABLE_BRC"; fi
 _RC != $(_RC_SH)
 RC = $(_RC)$(shell $(_RC_SH))
 
index 6849943b0cc4796e3218a137fba5863580a6e32a..b316ceab37952294dc4cbd9bba095f93985370f4 100644 (file)
--- a/config.h
+++ b/config.h
@@ -71,7 +71,7 @@
 #define NTPRESTARTARGS      "--nodeps", "--quiet", "conditionalrestart"
 #define OPENNTPSERVICE      ETCDIR "/init.d/ntpd"
 #define OPENNTPRESTARTARGS  "--nodeps", "--quiet", "conditionalrestart"
-#elif ENABLE_RC
+#elif ENABLE_BRC
 #define NISSERVICE          ETCDIR "/rc.d/ypbind"
 #define NISRESTARTARGS      "restart"
 #define NTPSERVICE          ETCDIR "/rc.d/ntpd"
index 5db98e8b18eac5e90fe1cd365bef3800c97f1513..f783799260d794f22f908066b637d2cf685b050e 100644 (file)
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -405,8 +405,8 @@ int main(int argc, char **argv)
 #endif
 #ifdef ENABLE_ORC
                                " ORC"
-#elif ENABLE_RC
-                               " RC"
+#elif ENABLE_BRC
+                               " BRC"
 #endif
 #ifdef ENABLE_RESOLVCONF
                                " RESOLVCONF"