Changeset 15275


Ignore:
Timestamp:
2009-04-19T22:32:11+02:00 (8 years ago)
Author:
florian
Message:

[package] fix babel init script and install it by default (#4939)

Location:
packages/ipv6/babel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/babel/Makefile

    r15247 r15275  
    1010PKG_NAME:=babel 
    1111PKG_VERSION:=0.94 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    4949        $(INSTALL_DIR) $(1)/etc 
    5050        $(INSTALL_CONF) ./files/babel.conf $(1)/etc/ 
     51        $(INSTALL_DIR) $(1)/etc/init.d 
     52        $(INSTALL_BIN) ./files/babel.init $(1)/etc/init.d/babel 
    5153endef 
    5254 
  • packages/ipv6/babel/files/babel.init

    r11292 r15275  
    1111 
    1212start() { 
    13         if [ -x /etc/init.d/ahcpd ] ; then 
     13        if [ -x /etc/rc.d/S71ahcpd ] ; then 
    1414                echo 'Not starting babel -- will be started by ahcpd.' 
    1515                exit 0 
     
    2121                echo "$pidfile exists -- not starting babel." >&2 
    2222        else 
    23                 /usr/bin/babel -D -I $pidfile $interfaces 
     23                /usr/sbin/babel -D -I $pidfile $interfaces 
    2424        fi 
    2525} 
     
    2929        [ -e $pidfile ] && sleep 2 
    3030        [ -e $pidfile ] && sleep 4 
    31         [ -e $pidfile ] && echo "Failed to stop ahcpd ($pidfile still exists)." 
     31        [ -e $pidfile ] && echo "Failed to stop babel ($pidfile still exists)." 
    3232} 
Note: See TracChangeset for help on using the changeset viewer.