📄 inittab
字号:
# for camera 303rev0# inittab This file describes how the INIT process should set up# the system in a certain run-level.## Default runlevel is indicated by initdefault. ## The runlevels used by Elinux are:# 0 - Halt. # 1 - User mode 1# 2 - User mode 2# 3 - User mode 3# 4 - User mode 4# 5 - User mode 5# 6 - Reboot# # <ID>:<RUNLEVEL>:<ACTION>:<PROCESS>## Possible actions are:## respawn - restarted whenever it terminates # initdefault - indicates default runlevel for initd# once - started once# wait - started once and init will wait for its termination# Default runlevelid:3:initdefault:# -n means no fork. -o is max log size in bytes before rotation.syslogd:3:respawn:/bin/syslogd -n -o 20000# Simple FTP serversftpd:13:respawn:/bin/sftpd# -n means no daemoninetd:3:respawn:/sbin/inetd -n# dnrd:3:once:/bin/dnrd -i eth0# Web server# old - boa:3:respawn:/bin/boa -c /etc/httpd/conf# new, works boa:3:respawn:/bin/boa -c /etc/httpd/conf -dboa:3:once:/bin/boa -c /etc/httpd/conf# Second instance - to be able to cancel External Trigger# old - boa:3:respawn:/bin/boa -c /etc/httpd/html/conf# new1 - boa:3:respawn:/bin/boa -c /etc/httpd/conf/second -dboa:3:once:/bin/boa -c /etc/httpd/conf/second# Enable login from serial port# Could not open console, ttyS0 - fixed bug top makefile (kernelconfig.latest)agetty:3:respawn:/sbin/agetty -L console 19200# We are using in.telnetd from inetd so we do not want telnetd running.# telnetd:3:once:/bin/telnetd# We use ipsetd for ARP+Ping IP-setting# timeout 1800 secs, change IP immediately, -l for packet size ipsetd:3:once:/bin/ipsetd -i eth0 -t 1800 -c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -