From: Roy Marples Date: Fri, 9 Nov 2007 17:02:38 +0000 (+0000) Subject: RC -> BRC X-Git-Tag: v3.2.3~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2669c8a63bb883fd81bed2bc539f09d0367536e0;p=thirdparty%2Fdhcpcd.git RC -> BRC --- diff --git a/Makefile b/Makefile index a8fd87bc..8f2ba4ad 100644 --- 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)) diff --git a/config.h b/config.h index 6849943b..b316ceab 100644 --- 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" diff --git a/dhcpcd.c b/dhcpcd.c index 5db98e8b..f7837992 100644 --- 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"