- Currently, tv and ivi use the symlink for telephony-daemon.
- Giving the capability to the symlink is not possible, therefore convert it as the realpath.
Change-Id: Ifec9cc85588a7bff29abbacffbd7cab43c11bab6
# Required cap_net_admin
# cap_net_admin for network interface up/down
+# some profiles create the symlink to telephony-daemon
if [ -e "/usr/bin/telephony-daemon" ]
-then /usr/sbin/setcap cap_net_admin=eip /usr/bin/telephony-daemon
+then /usr/sbin/setcap cap_net_admin=eip $(/usr/bin/readlink -f /usr/bin/telephony-daemon)
fi
# Package platform/core/system/session-utils