WEB开发网
开发学院手机开发Android 开发 Android启动脚本init.rc 阅读

Android启动脚本init.rc

 2010-09-14 23:58:00 来源:WEB开发网   
核心提示:init "stuck". (??? maybe there should be a timeout?)export < name> < value>Set the environment variable < name> equal to < value&

init "stuck". (??? maybe there should be a timeout?)

export < name> < value>

Set the environment variable < name> equal to < value> in the

global environment (which will be inherited by all processes

started after this command is executed)

ifup < interface>

Bring the network interface < interface> online.

import < filename>

Parse an init config file, extending the current configuration.

hostname < name>

Set the host name.

chdir < directory>

Change working directory.

chmod < octal-mode> < path>

Change file access permissions.

chown < owner> < group> < path>

Change file owner and group.

chroot < directory>

Change process root directory.

class_start < serviceclass>

Start all services of the specified class if they are

not already running.

class_stop < serviceclass>

Stop all services of the specified class if they are

currently running.

domainname < name>

Set the domain name.

insmod < path>

Install the module at < path>

mkdir < path> [mode] [owner] [group]

Create a directory at < path>, optionally with the given mode, owner, and

group. If not provided, the directory is created with permissions 755 and

owned by the root user and root group.

mount < type> < device> < dir> [ < mountoption> ]*

Attempt to mount the named device at the directory < dir>

< device> may be of the form mtd@name to specify a mtd block

device by name.

< mountoption>s include "ro", "rw", "remount", "noatime", ...

上一页  1 2 3 4 5 6 7  下一页

Tags:Android 启动 脚本

编辑录入:coldstar [复制链接] [打 印]
赞助商链接