Opened 10 years ago

Closed 4 years ago

Last modified 4 years ago

#3219 closed defect (obsolete)

aiccu should run in hotplug, not init

Reported by: adam@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:


When aiccu starts up at boot time in init, ntpdate may not have run. This causes aiccu to fail if the time is not set.

aiccu should run in the hotplug of the wan interface instead, after ntpdate. That way, the clock will be set (hopefully), and if the network goes down and back up, aiccu will be restarted.

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by adam@…

Here is what I am using in /etc/hotplug.d/iface/30-aiccu (same as miniupnpd). An alternative is not to have the file in /etc/init.d at all. That may make more sense.

[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu restart

comment:2 Changed 10 years ago by adam@…

Better formatted:

[ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && /etc/init.d/aiccu enabled && /etc/init.d/aiccu restart

comment:3 Changed 10 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with [10680].

comment:4 Changed 4 years ago by theredia@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

aiccu should not be started from hotplug. I case of repeated interface up/downs, itl will bother SiXXs, and it will block you.


comment:5 Changed 4 years ago by jow

  • Resolution set to obsolete
  • Status changed from reopened to closed
  • Version set to Trunk

We removed any aiccu integration long ago. Recent versions ship the binary only and it is up to the user to do the right thing.

Last edited 4 years ago by jow (previous) (diff)

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.