mkdir -p /opt/usr/data/msg-service
chgrp db_msg_service /opt/usr/data/msg-service
+ if [ -f /usr/lib/rpm-plugins/msm.so ]
+ then
+ chsmack -a 'msg-service::db' /opt/usr/dbspace/.msg_service.db*
+ fi
+
########## Setting Config Value (Internal keys) ##########
+vcuid=5000
# Message Server Status
-vconftool set -t bool memory/msg/ready 0 -i -g 5000
+vconftool set -t bool memory/msg/ready 0 -i -g 5000 -u $vcuid
# SMS Send Options
-vconftool set -t int db/msg/network_mode 2
+vconftool set -t int db/msg/network_mode 2 -u $vcuid
# New Message Count
-vconftool set -t int db/msg/recv_sms 0
-vconftool set -t int db/msg/recv_mms 0
+vconftool set -t int db/msg/recv_sms 0 -u $vcuid
+vconftool set -t int db/msg/recv_mms 0 -u $vcuid
########## Setting Config Value (Private keys) ##########
# General Options