Merge "post-umount: add dm-verity-inactivated.umount script" into tizen
[platform/upstream/meta-generic.git] / scripts / generic-security.post
1 #!/bin/sh
2 echo "#################### generic-security.post ####################"
3
4 if [ -e /usr/share/security-config/set_capability ]; then
5         echo 'Give capabilities to daemons via set_capability from security-config package'
6         /usr/share/security-config/set_capability
7 fi
8 if [ -e /opt/share/security-config/test/image_test.sh ]; then
9         echo 'Run security-test'
10         /opt/share/security-config/test/image_test.sh
11 fi
12
13 # 04-15-2019 : This is to create security-manager DB backup file.
14 security-manager-cmd -b
15