summaryrefslogtreecommitdiff
path: root/scripts/iot-headless-base.post
blob: e57a794969059fe540fd5f8aeee3c7ce83ba0f0f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

echo "############### iot-headless-base.post ################"

######### Execute pkg_initdb if there is no pkgmgr-tool pacakge
rpm -qa | grep pkgmgr-tool
if [ $? != 0 ]
then
pkg_initdb --ro
fi