summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyotaek Shim <hyotaek.shim@samsung.com>2018-01-02 17:26:24 +0900
committerHyotaek Shim <hyotaek.shim@samsung.com>2018-01-02 18:37:09 +0900
commit6e63df8734e17eafe7d9074ab00efb6994bc3cb3 (patch)
tree49e574aab030f3c46b79fbdc31feb28158b5f64a
parent669bf276adb4f42b93e2cd9689d6a155fb672c0c (diff)
downloadsystem-plugin-6e63df8734e17eafe7d9074ab00efb6994bc3cb3.tar.gz
system-plugin-6e63df8734e17eafe7d9074ab00efb6994bc3cb3.tar.bz2
system-plugin-6e63df8734e17eafe7d9074ab00efb6994bc3cb3.zip
Change-Id: I14267d23917143b0ee69f4e20b2027fee4de8d5e Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
-rw-r--r--packaging/system-plugin.spec17
-rw-r--r--rules/99-usb-ethernet.rules6
-rw-r--r--scripts/usb_net_init.sh9
3 files changed, 0 insertions, 32 deletions
diff --git a/packaging/system-plugin.spec b/packaging/system-plugin.spec
index 8fbb905..ea6736e 100644
--- a/packaging/system-plugin.spec
+++ b/packaging/system-plugin.spec
@@ -88,14 +88,6 @@ Requires: liblazymount = %{version}
%description -n liblazymount-devel
Development library for lazy mount feature.It supports some interface functions.
-%package profile_ivi
-Summary: ivi specific system configuration files
-Requires: %{name} = %{version}-%{release}
-BuildArch: noarch
-
-%description profile_ivi
-This package provides ivi specific system configuration files.
-
###################################################################
###################### Newly-created RPMs #########################
###################################################################
@@ -228,7 +220,6 @@ ln -s ../tizen-system-env.service %{buildroot}%{_unitdir}/basic.target.wants/tiz
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d/
install -m 644 rules/51-system-plugin-exynos.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
install -m 644 rules/51-system-plugin-spreadtrum.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
-install -m 644 rules/99-usb-ethernet.rules %{buildroot}%{_prefix}/lib/udev/rules.d/
mkdir -p %{buildroot}%{_prefix}/lib/udev/hwdb.d/
install -m 644 rules/60-evdev.hwdb %{buildroot}%{_prefix}/lib/udev/hwdb.d/
@@ -252,9 +243,6 @@ install -m 644 units/tizen-fstrim-user.service %{buildroot}%{_unitdir}
mkdir -p %{buildroot}%{_bindir}
install -m 755 scripts/tizen-fstrim-on-charge.sh %{buildroot}%{_bindir}
-# ivi
-install -m 755 scripts/usb_net_init.sh %{buildroot}%{_bindir}
-
# fixed-multi-user
install -m 775 -D scripts/fixed-multi-user.sh %{buildroot}%{_datadir}/fixed_multiuser/fixed-multi-user.sh
@@ -403,11 +391,6 @@ systemctl daemon-reload
%postun -n liblazymount -p /sbin/ldconfig
-%files profile_ivi
-%license LICENSE.Apache-2.0
-%{_prefix}/lib/udev/rules.d/99-usb-ethernet.rules
-%{_bindir}/usb_net_init.sh
-
###################################################################
###################### Newly-created RPMs #########################
###################################################################
diff --git a/rules/99-usb-ethernet.rules b/rules/99-usb-ethernet.rules
deleted file mode 100644
index 6c0307d..0000000
--- a/rules/99-usb-ethernet.rules
+++ /dev/null
@@ -1,6 +0,0 @@
-# USB ETHERNET
-SUBSYSTEM!="net", GOTO="usb_ethernet_end"
-
-ACTION=="add", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="8152", RUN+="/usr/bin/usb_net_init.sh %k"
-
-LABEL="usb_ethernet_end"
diff --git a/scripts/usb_net_init.sh b/scripts/usb_net_init.sh
deleted file mode 100644
index ab245b1..0000000
--- a/scripts/usb_net_init.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-interface=$1
-
-/sbin/ifconfig ${interface} down
-/sbin/ifconfig ${interface} 192.20.16.11
-/sbin/ifconfig ${interface} up
-