Commit 4d4934de authored by fuyanbin's avatar fuyanbin
Browse files

有些文件不需要设置chcon

parent b3edffd3
...@@ -300,7 +300,7 @@ install_dianxin() { ...@@ -300,7 +300,7 @@ install_dianxin() {
chcon u:object_r:drmserver_exec:s0 "$system_path/bin/$(basename "$file")" chcon u:object_r:drmserver_exec:s0 "$system_path/bin/$(basename "$file")"
done done
for file in $(find ./services/ -type f -name "*.rc" ! -name "*.zip") for file in $(find ./services/ -type f -name "*.rc" ! -name "*.zip" ! -name "hugep" ! -name "hugep-start.sh")
do do
chcon u:object_r:drmserver_exec:s0 "$system_path/etc/init/$(basename "$file")" chcon u:object_r:drmserver_exec:s0 "$system_path/etc/init/$(basename "$file")"
done done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment