summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x500.msg-service.sh62
-rwxr-xr-xpackaging/msg-service.spec3
2 files changed, 0 insertions, 65 deletions
diff --git a/500.msg-service.sh b/500.msg-service.sh
deleted file mode 100755
index b356345..0000000
--- a/500.msg-service.sh
+++ /dev/null
@@ -1,62 +0,0 @@
-#!/bin/sh
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-#--------------------------------------
-# RW patchs for FOTA/FUS upgrade
-#--------------------------------------
-
-# vconf
-buxton2ctl set-string system "db/private/msg-service/general/ua_agent" ""
-buxton2ctl set-string system "db/private/msg-service/general/ua_profile" ""
-
-## clear notification id's (vconf)
-buxton2ctl set-int32 system "db/private/msg-service/notification_priv_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id1/1" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id1/2" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id1/3" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id2/1" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id2/2" "0"
-buxton2ctl set-int32 system "db/private/msg-service/voice_noti_id2/3" "0"
-buxton2ctl set-int32 system "db/private/msg-service/emergency_noti_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/cb_noti_priv_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/sim_msg_noti_priv_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/sentfail_noti_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/sim_full_noti_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/storage_full_noti_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/read_report_sent_noti_id" "0"
-buxton2ctl set-int32 system "db/private/msg-service/read_report_sent_msg_id" "0"
-
-# db
-chmod 640 /opt/usr/dbspace/.msg_service.db
-chmod 640 /opt/usr/dbspace/.msg_service.db-journal
-
-chown messaging:priv_message_read /opt/usr/dbspace/.msg_service.db
-chown messaging:priv_message_read /opt/usr/dbspace/.msg_service.db-journal
-
-# user data
-chmod 770 /opt/usr/data/msg-service
-chmod 750 /opt/usr/data/msg-service/msgdata
-chmod 750 /opt/usr/data/msg-service/smildata
-chmod 770 /opt/usr/data/msg-service/ipcdata
-chmod 750 /opt/usr/data/msg-service/msgdata/thumbnails
-
-chown -R messaging:priv_message_read /opt/usr/data/msg-service
-
-chmod g+s /opt/usr/data/msg-service/msgdata
-chmod g+s /opt/usr/data/msg-service/smildata
-chmod g+s /opt/usr/data/msg-service/ipcdata
-chmod g+s /opt/usr/data/msg-service/msgdata/thumbnails
-
-# smack
-chsmack -a "*" /opt/usr/dbspace/.msg_service.db
-chsmack -a "*" /opt/usr/dbspace/.msg_service.db-journal
-chsmack -a "System::Shared" /opt/usr/data/msg-service/
-chsmack -r -a "System::Shared" /opt/usr/data/msg-service/msgdata -t
-chsmack -r -a "System::Shared" /opt/usr/data/msg-service/smildata -t
-chsmack -r -a "System::Run" /opt/usr/data/msg-service/ipcdata -t
-chsmack -r -a "System::Shared" /opt/usr/data/msg-service/msgdata/thumbnails -t
-
-#Multi group to ipcdata directory
-chmod o= /opt/usr/data/msg-service/ipcdata
-setfacl -m group:priv_message_write:rw /opt/usr/data/msg-service/ipcdata
diff --git a/packaging/msg-service.spec b/packaging/msg-service.spec
index a052ce4..f8947aa 100755
--- a/packaging/msg-service.spec
+++ b/packaging/msg-service.spec
@@ -141,8 +141,6 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/etc/config
-mkdir -p %{buildroot}/usr/share/upgrade/scripts
-cp -f 500.msg-service.sh %{buildroot}/usr/share/upgrade/scripts
%make_install
@@ -231,7 +229,6 @@ setfacl -m group:priv_message_write:rw %{TZ_SYS_GLOBALUSER_DATA}/msg-service/ipc
%{_unitdir}/multi-user.target.wants/msg-server.service
%{_unitdir}/msg-server.socket
%{_unitdir}/sockets.target.wants/msg-server.socket
-/usr/share/upgrade/scripts/500.msg-service.sh
%files devel
%license LICENSE.APLv2