From ee8a12b6998e7b169b61bf2148386ba4fa9990bb Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sun, 1 Aug 2010 18:59:38 +0200 Subject: [PATCH 1/1] nut: remove patch that convert udev rules to old format. --- lfs/nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/nut b/lfs/nut index b5a5eda4a4..c0b7c57e8a 100644 --- 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 = 1 +PAK_VER = 2 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 - 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 -- 2.39.2