Code Listing 4.4: Running an init script as first script in the runlevel depend() {
before *
}
If your service must write to local disks, it should need localmount. If it places anything in /var/run such as a pidfile, then it should start after bootmisc:
Code Listing 4.5: Example depend() function depend() {
need localmount
after bootmisc
}编辑nano -w /etc/init.d/net.eth0找到need localmount将其注视掉即可 Ubuntu Linux下安装 JDK 1.6Linux新增磁盘与LVM逻辑卷操作相关资讯 Gentoo Linux
- Gentoo Linux 20140826 发布下载 (09/05/2014 08:22:57)
- Gentoo Linux--解决fcitx在GTK3应 (04/09/2013 06:25:16)
- Gentoo Linux 在命令行下用鼠标 (11/12/2012 14:28:19)
| - VirtualBox导入ova报VERR_VD_VMDK_ (04/11/2013 11:31:50)
- Gentoo Linux 20121221 世界末日版 (12/21/2012 20:09:44)
- Gentoo Linux x86快速安装指南对 (10/26/2012 19:28:54)
|
本文评论 查看全部评论 (0)