Changeset 28796


Ignore:
Timestamp:
2011-11-07T04:43:40+01:00 (6 years ago)
Author:
jow
Message:

[packages] aiccu: retry TIC login on nonfatal failures (#10310)

  • change the tic_Login() function to indicate fatal vs. nonfatal login errors
  • retry tic_Login() on nonfatal failures, wait at least 10 seconds per retry
  • increase delay by 10 seconds per try until the maximum of 120 seconds is reached
  • move aiccu start command into background as it can take a long time to deamonize due to retries, blocking subsequent init scripts
  • remove hotplug script for aiccu, the running instances should recover themselves if time and connectivity become available
Location:
packages/ipv6/aiccu
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/aiccu/Makefile

    r28727 r28796  
    1010PKG_NAME:=aiccu 
    1111PKG_VERSION:=20070115 
    12 PKG_RELEASE:=7 
     12PKG_RELEASE:=8 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz 
     
    5151        $(INSTALL_DIR) $(1)/etc/init.d 
    5252        $(INSTALL_BIN) ./files/aiccu.init $(1)/etc/init.d/aiccu 
    53         $(INSTALL_DIR) $(1)/etc/hotplug.d/iface 
    54         $(INSTALL_DATA) ./files/aiccu.hotplug $(1)/etc/hotplug.d/iface/30-aiccu 
    5553endef 
    5654 
  • packages/ipv6/aiccu/files/aiccu.init

    r28730 r28796  
    4848 
    4949        config_get_bool enabled "$cfg" enabled '1' 
    50         [ "$enabled" -gt 0 ] && aiccu start "$CFGFILE" 
     50        [ "$enabled" -gt 0 ] && aiccu start "$CFGFILE" & 
    5151} 
    5252 
Note: See TracChangeset for help on using the changeset viewer.