website: fix typo, add hidden-features (#349)
This commit is contained in:
7
website/docs/zh_CN/guide/hidden-features.md
Normal file
7
website/docs/zh_CN/guide/hidden-features.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# 隐藏功能
|
||||
|
||||
## ksurc
|
||||
|
||||
默认情况下,`/system/bin/sh` 会加载 `/system/etc/mkshrc`。
|
||||
|
||||
可以通过创建 `/data/adb/ksu/.ksurc` 文件来让 su 加载该文件而不是 `/system/etc/mkshrc`。
|
||||
@@ -60,7 +60,7 @@ KernelSU 模块就是一个放置在 `/data/adb/modules` 内且满足如下结
|
||||
│ │
|
||||
│ ├── post-fs-data.sh <--- 这个脚本将会在 post-fs-data 模式下运行
|
||||
│ ├── service.sh <--- 这个脚本将会在 late_start 服务模式下运行
|
||||
| ├── uninstall.sh <--- 这个脚本将会在模块被卸载是运行
|
||||
| ├── uninstall.sh <--- 这个脚本将会在模块被卸载时运行
|
||||
│ ├── system.prop <--- 这个文件中指定的属性将会在系统启动时通过 resetprop 更改
|
||||
│ ├── sepolicy.rule <--- 这个文件中的 SELinux 策略将会在系统启动时加载
|
||||
│ │
|
||||
|
||||
Reference in New Issue
Block a user