PKG_NAME:=nut
PKG_VERSION:=2.7.4
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/
endef
define Package/nut/conffiles
- /etc/nut/nut.conf
- $(if $(CONFIG_NUT_CLIENTS_UPSMON),/etc/nut/upsmon.conf)
- $(if $(CONFIG_NUT_CLIENTS_UPSSCHED),/etc/nut/upssched.conf)
- $(if $(CONFIG_NUT_SERVER),/etc/nut/ups.conf)
- $(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.conf)
- $(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.users)
+/etc/nut/nut.conf
+$(if $(CONFIG_NUT_CLIENTS_UPSMON),/etc/nut/upsmon.conf)
+$(if $(CONFIG_NUT_CLIENTS_UPSSCHED),/etc/nut/upssched.conf)
+$(if $(CONFIG_NUT_SERVER),/etc/nut/ups.conf)
+$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.conf)
+$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.users)
endef
define Package/nut/install
endef
define Package/nut-web-cgi/conffiles
- /etc/nut/hosts.conf
- /etc/nut/upsset.conf
- /etc/nut/upsstats.html
- /etc/nut/upsstats-single.html
+/etc/nut/hosts.conf
+/etc/nut/upsset.conf
+/etc/nut/upsstats.html
+/etc/nut/upsstats-single.html
endef
define Package/nut-web-cgi/install
endef
define Package/nut-avahi-service/conffiles
- /etc/avahi/services/nut.service
+/etc/avahi/services/nut.service
endef
define Package/nut-avahi-service/install