diff options
-rwxr-xr-x | misc/bird.init | 2 | ||||
-rw-r--r-- | misc/bird.spec | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/misc/bird.init b/misc/bird.init index 2417f3f4..1cd43346 100755 --- a/misc/bird.init +++ b/misc/bird.init @@ -1,6 +1,6 @@ #! /bin/sh # -# bird.init Starts the Internet Routing Daemon. +# bird Starts the Internet Routing Daemon. # # Author: Ondrej Feela Filip, <feela@network.cz> # diff --git a/misc/bird.spec b/misc/bird.spec index e963d9a6..ea5efd96 100644 --- a/misc/bird.spec +++ b/misc/bird.spec @@ -1,7 +1,7 @@ Summary: BIRD Internet Routing Daemon Name: bird Version: 1.0.4 -Release: 1 +Release: 2 Copyright: GPL Group: Networking/Daemons Source: ftp://bird.network.cz/pub/bird/bird-%{version}.tar.gz @@ -27,19 +27,19 @@ make install prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc localstat cd $RPM_BUILD_ROOT install -c -d etc/rc.d/init.d -install -c $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/ +install -c $RPM_SOURCE_DIR/bird.init etc/rc.d/init.d/bird %post /sbin/ldconfig -/sbin/chkconfig --add bird.init +/sbin/chkconfig --add bird %preun if [ $1 = 0 ] ; then - /sbin/chkconfig --del bird.init + /sbin/chkconfig --del bird fi %files %attr(755,root,root) /usr/sbin/bird %attr(755,root,root) /usr/sbin/birdc -%attr(755,root,root) /etc/rc.d/init.d/bird.init +%attr(755,root,root) /etc/rc.d/init.d/bird %config /etc/bird.conf |