当前位置: 首页 > news >正文

淮安市做网站写作网站哪个名声好

淮安市做网站,写作网站哪个名声好,小程序网站做多大尺寸,很多网站的微信登录怎么做讲init进程的启动过程从/etc/inittab出发。 内核启动init进程时已经打开/dev/console设备作为控制台#xff0c;一般情况下Busybox init程序就使用/dev/console#xff0c; 如果内核启动init进程的同时设置了环境变量CONSOLE或console#xff0c;则使用环境变量所指定的设备… 讲init进程的启动过程从/etc/inittab出发。 内核启动init进程时已经打开/dev/console设备作为控制台一般情况下Busybox init程序就使用/dev/console 如果内核启动init进程的同时设置了环境变量CONSOLE或console则使用环境变量所指定的设备。 1、/etc/inittab文件的相关文档和示例代码都在Busybox 的examples/inittab文件中。 vi examples/inittab 内容如下(红色字为格式重要部分) # /etc/inittab init(8) configuration for BusyBox## Copyright (C) 1999-2004 by Erik Andersen andersencodepoet.org### Note, BusyBox init doesnt support runlevels. The runlevels field is# completely ignored by BusyBox init. If you want runlevels, use sysvinit.### Format for each entry: id:runlevels:action:process## id: WARNING: This field has a non-traditional meaning for BusyBox init!## The id field is used by BusyBox init to specify the controlling tty for# the specified process to run on. The contents of this field are# appended to /dev/ and used as-is. There is no need for this field to# be unique, although if it isnt you may have strange results. If this# field is left blank, it is completely ignored. Also note that if# BusyBox detects that a serial console is in use, then all entries# containing non-empty id fields will be ignored. BusyBox init does# nothing with utmp. We dont need no stinkin utmp.runlevels: The runlevels field is completely ignored.## action: Valid actions include: sysinit, respawn, askfirst, wait, once,# restart, ctrlaltdel, and shutdown.## Note: askfirst acts just like respawn, but before running the specified# process it displays the line Please press Enter to activate this# console. and then waits for the user to press enter before starting# the specified process.## Note: unrecognised actions (like initdefault) will cause init to emit# an error message, and then go along with its business.## process: Specifies the process to be executed and its command line.## Note: BusyBox init works just fine without an inittab. If no inittab is# found, it has the following default behavior:# ::sysinit:/etc/init.d/rcS# ::askfirst:/bin/sh# ::ctrlaltdel:/sbin/reboot# ::shutdown:/sbin/swapoff -a# ::shutdown:/bin/umount -a -r# ::restart:/sbin/init## if it detects that /dev/console is _not_ a serial console, it will# also run:# tty2::askfirst:/bin/sh# tty3::askfirst:/bin/sh# tty4::askfirst:/bin/sh## Boot-time system configuration/initialization script.# This is run first except when booting in single-user mode.#::sysinit:/etc/init.d/rcS# /bin/sh invocations on selected ttys## Note below that we prefix the shell commands with a - to indicate to the# shell that it is supposed to be a login shell. Normally this is handled by# login, but since we are bypassing login in this case, BusyBox lets you do# this yourself...## Start an askfirst shell on the console (whatever that may be)::askfirst:-/bin/sh# Start an askfirst shell on /dev/tty2-4tty2::askfirst:-/bin/shtty3::askfirst:-/bin/shtty4::askfirst:-/bin/sh# /sbin/getty invocations for selected ttystty4::respawn:/sbin/getty 38400 tty5tty5::respawn:/sbin/getty 38400 tty6# Example of how to put a getty on a serial line (for a terminal)#::respawn:/sbin/getty -L ttyS0 9600 vt100#::respawn:/sbin/getty -L ttyS1 9600 vt100## Example how to put a getty on a modem line.#::respawn:/sbin/getty 57600 ttyS2# Stuff to do when restarting the init process::restart:/sbin/init# Stuff to do before rebooting::ctrlaltdel:/sbin/reboot::shutdown:/bin/umount -a -r::shutdown:/sbin/swapoff -a2、仿照Busybox 的examples/inittab 文件创建一个inittab文件内容如下 #/etc/inittab #init进程启动的第一个子进程它是一个脚本可以在里面指定用户想执行的操作 #比较挂接其他文件系统、配置网络等 ::sysinit:/etc/init.d/rcS #启动shell以/dev/ttySAC0作为控制台 ttySAC0::askfirst:-/bin/sh #按下CtrlAltDel之后执行的程序不过在串口控制台中无法输入CtrlAltDel组合键 ::ctrlaltdel:/sbin/reboot #重启、关机前执行的程序 ::shutdown:/bin/umount -a -r
http://www.pierceye.com/news/100213/

相关文章:

  • 襄阳网站建设价格淄博网站推广价格
  • 网站推广的软件六安网站制作哪里有
  • 大型门户网站模板wordpress有哪些小工具
  • 有flash的网站新闻资讯app制作公司
  • 网站和平台有什么区别黄页88怎么发信息质量高
  • 阿里建站价格小户型室内装修设计公司网站
  • 建设银行网站安全性分析网络推广服务平台
  • 大型购物网站建设福建微网站建设公司
  • 做网站软件j程序员找工作网站
  • 济南网站建设系统画册设计公司宣传册
  • 上海网站设计方案家纺网站建设
  • 衡水精品网站建设游戏广告推广平台
  • 响应式企业网站建设营销战略
  • wordpress离线浏览搜索引擎优化包括
  • 门户网站建设需要多少呼伦贝尔市住房和城乡建设局网站
  • 静海集团网站建设住房城乡建设网站
  • 个人备案挂企业网站网站开发公司照片
  • 网站建设课程体会国内最新新闻简短
  • 网站开发大概价格最常用的网页制作软件
  • 商务网站模块设计时前台基础设施建设免费网站建设空间
  • 青海省公路工程建设总公司网站饮料公司网站模板
  • 建设部网站刘赵云网页版邮箱
  • 免费扑克网站企业网站怎么搜索优化
  • 做网站导航的厦门网站建设制作多少钱
  • 怎样免费注册网站域名鹤城建设集团网站
  • 3合1网站建设价格网站建设论坛快速建站
  • 怎样做钓鱼网站上海网站关键词排名优化报价
  • 昆明专业网站设计公司电商类网站设计模板
  • 网站流量用完了重庆网站推广
  • 网站管理助手数据库网站在建设中无法访问