Lines Matching refs:etc
43 mkdir -p /etc/selinux/dummy/policy
44 mkdir -p /etc/selinux/dummy/contexts/files
46 echo "__default__:user_u:s0" > /etc/selinux/dummy/seusers
47 echo "base_r:base_t:s0" > /etc/selinux/dummy/contexts/failsafe_context
48 echo "base_r:base_t:s0 base_r:base_t:s0" > /etc/selinux/dummy/default_contexts
49 cat > /etc/selinux/dummy/contexts/x_contexts <<EOF
56 touch /etc/selinux/dummy/contexts/virtual_domain_context
57 touch /etc/selinux/dummy/contexts/virtual_image_context
59 cp file_contexts /etc/selinux/dummy/contexts/files
60 cp dbus_contexts /etc/selinux/dummy/contexts
61 cp policy.$VERS /etc/selinux/dummy/policy
62 FC_FILE=/etc/selinux/dummy/contexts/files/file_contexts
64 if [ ! -d /etc/selinux ]; then
65 mkdir -p /etc/selinux
67 if [ -f /etc/selinux/config ]; then
69 mv /etc/selinux/config /etc/selinux/config.bak
72 cat > /etc/selinux/config << EOF
77 cd /etc/selinux/dummy/contexts/files