From bc928f7ae8b88d05ed648b62176c0ba25c8e5770 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Mon, 18 Jan 2010 13:20:36 +0000 Subject: trivial: switch to using the new udev attribute names (no ABI or API break) --- rules/95-devkit-power-battery-recall-fujitsu.rules | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'rules/95-devkit-power-battery-recall-fujitsu.rules') diff --git a/rules/95-devkit-power-battery-recall-fujitsu.rules b/rules/95-devkit-power-battery-recall-fujitsu.rules index 7d95e36..21e5f6d 100644 --- a/rules/95-devkit-power-battery-recall-fujitsu.rules +++ b/rules/95-devkit-power-battery-recall-fujitsu.rules @@ -2,30 +2,30 @@ # Battery recall notices: Fujitsu # # These are properties defining the behavior: -# DKP_RECALL_NOTICE -# DKP_RECALL_VENDOR -# DKP_RECALL_URL +# UPOWER_RECALL_NOTICE +# UPOWER_RECALL_VENDOR +# UPOWER_RECALL_URL # # only match power_supply devices -SUBSYSTEM!="power_supply", GOTO="dkp_battery_recall_fujitsu_end" +SUBSYSTEM!="power_supply", GOTO="up_battery_recall_fujitsu_end" # only match batteries -ATTR{type}!="Battery", GOTO="dkp_battery_recall_fujitsu_end" +ATTR{type}!="Battery", GOTO="up_battery_recall_fujitsu_end" # only match correct manufacturer -ATTR{manufacturer}!="Fujitsu", GOTO="dkp_battery_recall_fujitsu_end" +ATTR{manufacturer}!="Fujitsu", GOTO="up_battery_recall_fujitsu_end" -ATTR{model_name}=="CP255100", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP255108", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP229720", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP229725", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP234003", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP234019", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP283030", ENV{DKP_RECALL_NOTICE}="1" -ATTR{model_name}=="CP267910", ENV{DKP_RECALL_NOTICE}="1" +ATTR{model_name}=="CP255100", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP255108", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP229720", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP229725", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP234003", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP234019", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP283030", ENV{UPOWER_RECALL_NOTICE}="1" +ATTR{model_name}=="CP267910", ENV{UPOWER_RECALL_NOTICE}="1" -ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="Fujitsu", ENV{DKP_RECALL_URL}="http://www.computers.us.fujitsu.com/battery/" +ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="Fujitsu", ENV{UPOWER_RECALL_URL}="http://www.computers.us.fujitsu.com/battery/" -LABEL="dkp_battery_recall_fujitsu_end" +LABEL="up_battery_recall_fujitsu_end" -- cgit v1.2.3