change rc permission to 644

This commit is contained in:
Rikka
2023-05-27 16:55:28 +08:00
parent 43d8cfb18d
commit 0b2afba187
4 changed files with 8 additions and 0 deletions
+1
View File
@@ -55,3 +55,4 @@ on property:ro.enable.native.bridge.exec=1
os.makedirs(os.path.dirname(init_path), exist_ok=True)
with open(init_path, "w") as initfile:
initfile.write(self.init_rc_component)
os.chmod(init_path, 0o644)