Opened 5 years ago

#12933 new defect

nut: initscript broken

Reported by: Romain Riviere <net+wrt@…> Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:


The "ups" initscript (from trunk) is currently broken:

  • it does not start anything
  • it always overwrites configuration files with empty files (ups.conf and upsd.users)
  • it relies on a nonexistent /etc/default/nut


  • the start() function needs to call config_cb() and option_cb(), otherwise the generated config files will always remain empty
  • these config files should not be overwritten if they exist
  • a template for /etc/default/nut would be nice since it is not part of the upstream distribution (I think), so it's hard to tell what should be in there (if anything)

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

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

Note: See TracTickets for help on using tickets.