nut: remove patch that convert udev rules to old format.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Aug 2010 16:59:38 +0000 (18:59 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Aug 2010 16:59:38 +0000 (18:59 +0200)
lfs/nut

diff --git a/lfs/nut b/lfs/nut
index b5a5eda..c0b7c57 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
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = nut
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = ""
 
 
 DEPS       = ""
 
@@ -82,7 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --with-wrap=no --with-udev-dir=/etc/udev
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
                        --with-wrap=no --with-udev-dir=/etc/udev
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       sed -i -e "s|ATTR{|SYSFS{|g" /etc/udev/rules.d/52-nut-usbups.rules
+#      sed -i -e "s|ATTR{|SYSFS{|g" /etc/udev/rules.d/52-nut-usbups.rules
        -mkdir -p /var/state/ups
        install -v -m 644 $(DIR_SRC)/config/backup/includes/nut \
                         /var/ipfire/backup/addons/includes/nut
        -mkdir -p /var/state/ups
        install -v -m 644 $(DIR_SRC)/config/backup/includes/nut \
                         /var/ipfire/backup/addons/includes/nut