]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/nut
Merge branch 'next' into initscripts-cleanup
[ipfire-2.x.git] / lfs / nut
diff --git a/lfs/nut b/lfs/nut
index 33fe015b0c9d8865cf24fdcbadc247e0ccd30a1c..2045dce6cb4fcfd1470053a66bf7f420d9bb5774 100644 (file)
--- a/lfs/nut
+++ b/lfs/nut
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nut
-PAK_VER    = 4
+PAK_VER    = 5
 
 DEPS       = ""
 
@@ -84,6 +84,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && make install
 #      sed -i -e "s|ATTR{|SYSFS{|g" /etc/udev/rules.d/52-nut-usbups.rules
        -mkdir -p /var/state/ups
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,nut)
+
        install -v -m 644 $(DIR_SRC)/config/backup/includes/nut \
                         /var/ipfire/backup/addons/includes/nut
        @rm -rf $(DIR_APP)