| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| zh-cn:doc:howto:notuci.config [2018/02/17 18:57] – ↷ Links adapted because of a move operation | zh-cn:doc:howto:notuci.config [2018/09/16 11:19] – changing link to new firewall articles befor move operation bobafetthotmail |
|---|
| ====== 非UCI配置 ====== | ====== 非UCI配置 ====== |
| 大部分东西都可以(因而也应该)用[[zh-cn:doc:uci]]进行配置。本页主要是一些无法通过UCI进行配置的小东西。有GNU/Linux使用经验的用户自然对这些了然于胸。本页主要针对初学者。 | 大部分东西都可以(因而也应该)用[[zh:docs:guide-user:base-system:uci]]进行配置。本页主要是一些无法通过UCI进行配置的小东西。有GNU/Linux使用经验的用户自然对这些了然于胸。本页主要针对初学者。 |
| |
| |
| ===== /etc/TZ ===== | ===== /etc/TZ ===== |
| 仅仅是一个符号连接,指向用UCI在''[[doc/uci/system|/etc/config/system]]''中创建和配置的''/tmp/TZ''。 | 仅仅是一个符号连接,指向用UCI在''[[docs:guide-user:base-system:system_configuration|/etc/config/system]]''中创建和配置的''/tmp/TZ''。 |
| |
| ===== /etc/banner ===== | ===== /etc/banner ===== |
| ===== /etc/diag.sh ===== | ===== /etc/diag.sh ===== |
| ===== /etc/dnsmasq.conf ===== | ===== /etc/dnsmasq.conf ===== |
| ->[[docs:user-guide:services:dhcp.dnsmasq#Configuration]] | ->[[docs:guide-user:base-system:dhcp.dnsmasq#Configuration]] |
| |
| ===== /etc/ethers ===== | ===== /etc/ethers ===== |
| ->[[docs:user-guide:services:dhcp.dnsmasq#Configuration]] | ->[[docs:guide-user:base-system:dhcp.dnsmasq#Configuration]] |
| |
| ===== /etc/firewall.user ===== | ===== /etc/firewall.user ===== |
| Is being called by ''[[doc:uci:firewall|/etc/config/firewall]]''. Both files are not executed when booting into [[doc:howto:generic.failsafe|failsafe mode]]. You can populate this file with help of [[doc:howto:netfilter#Configuration|netfilter]]-article. | Is being called by ''[[inbox:firewall:start/etc/config/firewall]]''. Both files are not executed when booting into [[docs:guide-user:troubleshooting:failsafe_and_factory_reset|failsafe mode]]. You can populate this file with help of [[docs:guide-user:firewall:netfilter-iptables:netfilter#Configuration|netfilter]]-article. |
| |
| ===== /etc/fstab ===== | ===== /etc/fstab ===== |
| Merely a [[wp>Symlink#POSIX_and_Unix-like_operating_systems|symlink]] to ''fstab -> /tmp/fstab'' which is being created and configured by UCI in ''[[doc/uci/fstab|/etc/config/fstab]]'' | Merely a [[wp>Symlink#POSIX_and_Unix-like_operating_systems|symlink]] to ''fstab -> /tmp/fstab'' which is being created and configured by UCI in ''[[docs:guide-user:storage:fstab|/etc/config/fstab]]'' |
| |
| [[http://linux.die.net/man/5/fstab|manpage fstab]], [[wp>fstab]] | [[http://linux.die.net/man/5/fstab|manpage fstab]], [[wp>fstab]] |
| |
| ===== /etc/fw_env.config ===== | ===== /etc/fw_env.config ===== |
| -> [[doc:techref:bootloader:uboot.config]] | -> [[docs:techref:bootloader:uboot.config]] |
| |
| ===== /etc/group ===== | ===== /etc/group ===== |
| ===== /etc/hotplug2.rules ===== | ===== /etc/hotplug2.rules ===== |
| ===== /etc/init.d/rcS ===== | ===== /etc/init.d/rcS ===== |
| This get's executed by ''init'' every boot: [[doc:techref:process.boot#init]] | This get's executed by ''init'' every boot: [[docs:techref:process.boot#init]] |
| <code> | <code> |
| #!/bin/sh | #!/bin/sh |
| |
| ===== /etc/mtab ===== | ===== /etc/mtab ===== |
| [[wp>mtab]], -> [[doc:techref:filesystems]], ->[[doc:techref:flash.layout]], [[wp>procfs]], [[wp>sysfs]], [[wp>devpts]] | [[wp>mtab]], -> [[docs:techref:filesystems]], ->[[docs:techref:flash.layout]], [[wp>procfs]], [[wp>sysfs]], [[wp>devpts]] |
| |
| <code> | <code> |
| ===== /etc/ntp.conf ===== | ===== /etc/ntp.conf ===== |
| ===== /etc/opkg.conf ===== | ===== /etc/opkg.conf ===== |
| ->[[doc:techref:opkg]] | ->[[docs:guide-user:additional-software:opkg]] |
| |
| ===== /etc/passwd ===== | ===== /etc/passwd ===== |
| |
| ===== /etc/preinit ===== | ===== /etc/preinit ===== |
| In OpenWrt the Kernel is executed by the [[doc:techref:bootloader]] with the option ''init=/etc/preinit'' (instead of the usual ''init=/sbin/init''). So the Kernel executes ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/preinit|/etc/preinit]]'' which itself calls upon: | In OpenWrt the Kernel is executed by the [[docs:techref:bootloader]] with the option ''init=/etc/preinit'' (instead of the usual ''init=/sbin/init''). So the Kernel executes ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/preinit|/etc/preinit]]'' which itself calls upon: |
| * ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/functions.sh|/etc/functions.sh]]'' | * ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/etc/functions.sh|/etc/functions.sh]]'' |
| * ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/functions/boot.sh|lib/functions/boot.sh]]'' | * ''[[https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/functions/boot.sh|lib/functions/boot.sh]]'' |
| |
| -> [[doc:techref:process.boot]] should bring some clarity into this matter | -> [[docs:techref:process.boot]] should bring some clarity into this matter |
| |
| <code> | <code> |
| |
| ===== /etc/sysupgrade.conf ===== | ===== /etc/sysupgrade.conf ===== |
| -> [[doc:howto:generic.sysupgrade]] | -> [[docs:guide-user:installation:generic.sysupgrade]] |
| <code> | <code> |
| ## This file contains files and directories that should | ## This file contains files and directories that should |