From b85fd0f4be157676b49e4742cb33d37309d2811a Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 5 Aug 2010 20:08:19 -0400 Subject: [PATCH] should have been using /etc/rc.d/init.d for 8 or 10 years now --- freeswitch.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/freeswitch.spec b/freeswitch.spec index 099478092a..7f2773f199 100644 --- a/freeswitch.spec +++ b/freeswitch.spec @@ -481,15 +481,15 @@ touch .noversion # Install init files # On SuSE: %if 0%{?suse_version} > 100 -%{__install} -D -m 744 build/freeswitch.init.suse $RPM_BUILD_ROOT/etc/init.d/freeswitch +%{__install} -D -m 744 build/freeswitch.init.suse $RPM_BUILD_ROOT/etc/rc.d/init.d/freeswitch %else # On RedHat like -%{__install} -D -m 0755 build/freeswitch.init.redhat $RPM_BUILD_ROOT/etc/init.d/freeswitch +%{__install} -D -m 0755 build/freeswitch.init.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/freeswitch %endif -# On SuSE make /usr/sbin/rcfreeswitch a link to /etc/init.d/freeswitch +# On SuSE make /usr/sbin/rcfreeswitch a link to /etc/rc.d/init.d/freeswitch %if 0%{?suse_version} > 100 %{__mkdir} -p $RPM_BUILD_ROOT/usr/sbin -%{__ln_s} -f /etc/init.d/freeswitch $RPM_BUILD_ROOT/usr/sbin/rcfreeswitch +%{__ln_s} -f /etc/rc.d/init.d/freeswitch $RPM_BUILD_ROOT/usr/sbin/rcfreeswitch %endif # Add the sysconfiguration file %{__install} -D -m 744 build/freeswitch.sysconfig $RPM_BUILD_ROOT/etc/sysconfig/freeswitch