X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Fsystem%2Fafm-system-setup.sh.in;h=b7a3c5d802dc027767d63ef2b35183d1bfeb64a1;hb=refs%2Fchanges%2F98%2F23398%2F1;hp=2af411c64ac903cd86432af98ad87dea5b95ac19;hpb=cc937529cdf8fad47b9b988fe205406f75d61acd;p=src%2Fapp-framework-main.git diff --git a/conf/system/afm-system-setup.sh.in b/conf/system/afm-system-setup.sh.in index 2af411c..b7a3c5d 100644 --- a/conf/system/afm-system-setup.sh.in +++ b/conf/system/afm-system-setup.sh.in @@ -1,11 +1,11 @@ -#!bin/sh +#!/bin/sh pdir=@afm_platform_rundir@ dodir() { if ! test -e $1; then mkdir -m 755 $1 - chsmack -a '*' $1 + chsmack -a '*' -T $1 fi } @@ -13,4 +13,12 @@ dodir $pdir dodir $pdir/display dodir $pdir/apis dodir $pdir/apis/ws +dodir $pdir/apis/link +@create_platform_debug@ +spdir=@afm_scope_platform_dir@ +if ! test -e $spdir; then + mkdir -m 755 $spdir + chsmack -a '*' -T $spdir + chown daemon:daemon $spdir +fi