summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINSUN PYO <insun.pyo@samsung.com>2018-01-19 12:57:23 +0900
committerINSUN PYO <insun.pyo@samsung.com>2018-01-19 13:06:18 +0900
commit385132c8f2db70e03478645a967c6ac1e47e76d1 (patch)
tree341760734cde83ca23c29df1f316d7ee0362d024
parent91b94ee60ae3eaefcb9e930740d95ec06b3da8c3 (diff)
downloadsystem-plugin-385132c8f2db70e03478645a967c6ac1e47e76d1.tar.gz
system-plugin-385132c8f2db70e03478645a967c6ac1e47e76d1.tar.bz2
system-plugin-385132c8f2db70e03478645a967c6ac1e47e76d1.zip
Remove unused 99-sdb-switch.rules
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ie211523eb3ab95c921dcd9edc15229cf24e67dfd
-rw-r--r--packaging/system-plugin.spec2
-rw-r--r--rules/99-sdb-switch.rules2
2 files changed, 0 insertions, 4 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index b4a6925..ccc2c80 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -202,8 +202,6 @@ install -m 755 scripts/init.wrapper %{buildroot}%{_sbindir}
# headless
mkdir -p %{buildroot}%{_sbindir}
install -m 755 scripts/sdb-mode.sh %{buildroot}%{_bindir}
-mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/
-install -m 644 rules/99-sdb-switch.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -m 755 scripts/headless_env.sh %{buildroot}%{_sysconfdir}/profile.d
diff --git a/rules/99-sdb-switch.rules b/rules/99-sdb-switch.rules
deleted file mode 100644
index 00804a0..0000000
--- a/rules/99-sdb-switch.rules
+++ /dev/null
@@ -1,2 +0,0 @@
-SUBSYSTEM=="switch", ATTR{name}=="usb_cable", ATTR{state}=="1", RUN+="/usr/bin/sdb-mode.sh --on"
-SUBSYSTEM=="switch", ATTR{name}=="usb_cable", ATTR{state}=="0", RUN+="/usr/bin/sdb-mode.sh --off"