Changeset 28727


Ignore:
Timestamp:
2011-11-03T17:05:42+01:00 (6 years ago)
Author:
acinonyx
Message:

[packages] aiccu: Add 'restart' option to force restart of daemon instead of HUP (#7629)

Location:
packages/ipv6/aiccu
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/aiccu/Makefile

    r28639 r28727  
    1010PKG_NAME:=aiccu 
    1111PKG_VERSION:=20070115 
    12 PKG_RELEASE:=6 
     12PKG_RELEASE:=7 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz 
  • packages/ipv6/aiccu/files/aiccu.hotplug

    r28219 r28727  
    11#!/bin/sh 
    2 [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu start 
     2[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu restart 
  • packages/ipv6/aiccu/files/aiccu.init

    r28726 r28727  
    5858restart_instance() { 
    5959        local cfg="$1" 
    60         stop_instance "$cfg" 
     60        config_get_bool restart "$cfg" restart 0 
     61        [ "$restart" -eq 1 ] && stop_instance "$cfg" 
    6162        start_instance "$cfg" 
    6263} 
Note: See TracChangeset for help on using the changeset viewer.