* 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
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28796
3c298f89-4303-0410-b956-
a3cf2f4a3e73
PKG_NAME:=aiccu
PKG_VERSION:=20070115
-PKG_RELEASE:=7
+PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix
$(INSTALL_CONF) ./files/aiccu.conf $(1)/etc/config/aiccu
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/aiccu.init $(1)/etc/init.d/aiccu
- $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
- $(INSTALL_DATA) ./files/aiccu.hotplug $(1)/etc/hotplug.d/iface/30-aiccu
endef
$(eval $(call BuildPackage,aiccu))
+++ /dev/null
-#!/bin/sh
-[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu restart
echo -e "$args" > "$CFGFILE"
config_get_bool enabled "$cfg" enabled '1'
- [ "$enabled" -gt 0 ] && aiccu start "$CFGFILE"
+ [ "$enabled" -gt 0 ] && aiccu start "$CFGFILE" &
}
stop_instance() {