3 # RW update: tizen-platform-config
5 PATH=/bin:/usr/bin:/sbin:/usr/sbin
7 # tizen-platform-config post script
8 . "/etc/tizen-platform.conf"
11 SMACK System::Shared true
16 SMACK User::Home false
21 SMACK System::Shared false
25 while read s1 s2 s3; do
28 SMACK) c="$s2"; t="$s3";;
30 *) echo "$s1 ${m:-700} ${c:-_} ${t:-false}";;
34 while read dirname mode context transmute; do
35 if [ -e "$dirname" ]; then
36 chmod "$mode" "$dirname"
38 mkdir -p -m "$mode" "$dirname"
40 if [ "$transmute" = true ]; then
41 chsmack -a "$context" -t "$dirname"
43 chsmack -a "$context" "$dirname"