summaryrefslogtreecommitdiff
path: root/packaging/oma-dm-agent.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/oma-dm-agent.spec')
-rwxr-xr-xpackaging/oma-dm-agent.spec25
1 files changed, 0 insertions, 25 deletions
diff --git a/packaging/oma-dm-agent.spec b/packaging/oma-dm-agent.spec
index ba16da5..4fb979f 100755
--- a/packaging/oma-dm-agent.spec
+++ b/packaging/oma-dm-agent.spec
@@ -84,29 +84,9 @@ rm -rf %{buildroot}
%post
-if [ ! -d /etc/rc.d/rc3.d ]
-then
- mkdir -p /etc/rc.d/rc3.d
-fi
-if [ ! -d /etc/rc.d/rc5.d ]
-then
- mkdir -p /etc/rc.d/rc5.d
-fi
-
-if [ ! -f /etc/rc.d/rc3.d/S91oma-dm-agent ]
-then
- ln -s /etc/init.d/oma-dm /etc/rc.d/rc3.d/S91oma-dm-agent
-fi
-if [ ! -f /etc/rc.d/rc5.d/S91oma-dm-agent ]
-then
- ln -s /etc/init.d/oma-dm /etc/rc.d/rc5.d/S91oma-dm-agent
-fi
-
-#/etc/init.d/oma-dm start
%preun
-/etc/init.d/oma-dm stop
%postun
@@ -114,9 +94,6 @@ fi
rm -f /tmp/agent_fw_event_omadm*
rm -f /tmp/agent_fw_noti_reply_omadm*
-rm -f /etc/rc.d/rc3.d/S91oma-dm-agent
-rm -f /etc/rc.d/rc5.d/S91oma-dm-agent
-
rm -f /opt/usr/dbspace/.dm_service.db /opt/usr/dbspace/.dm_service.db-journal
rm -f /opt/usr/dbspace/.omadmagent.db /opt/usr/dbspace/.omadmagent.db-journal
rm -f /opt/usr/dbspace/.momanager.db /opt/usr/dbspace/.momanager.db-journal
@@ -148,8 +125,6 @@ rm -rf /usr/share/oma-dm-cfg
/usr/share/oma-dm-cfg/csc-setting/change_csc_value.sh
/usr/share/oma-dm-cfg/imei-setting/change_imei_callnum.sh
-/etc/init.d/oma-dm
-
%files -n dm-private-plugins
%manifest dm-private-plugins.manifest
%defattr(-,root,root,-)