我的系统已经启动了比较快的,同时然Debian的7喘息,但之后升级到Debian的8杰西,因此从SysVinit到systemd,它成为一种方式,方法要慢。
减慢启动速度的是网络。等待网络接口的更新时间超过1分钟。我不知道其中的内容/etc/network/interfaces会影响启动过程,因此这里是整个过程。
/ etc / network / interfaces:
allow-auto lo
        iface lo inet loopback
auto wlan0
        iface wlan0 inet static
                address 192.168.150.1
                netmask 255.255.255.0
auto eth1
        iface eth1 inet manual
                up ifconfig $IFACE 0.0.0.0 up
                down ifconfig $IFACE down
auto eth2
        iface eth2 inet manual
                up ifconfig $IFACE 0.0.0.0 up
                down ifconfig $IFACE down
auto eth0
        iface eth0 inet dhcp
                post-up brctl addbr br0
                post-up brctl addif br0 eth1 eth2
                post-up ifconfig br0 192.168.10.1
                pre-down ifconfig br0 0.0.0.0
                pre-down brctl delif br0 eth1 eth2
                pre-down ifconfig br0 down
                pre-down brctl delbr br0
有什么建议可以促进事情吗?
                  实际上,我遇到了诸如samba,bind或lighttpd之类的多种服务不等待网络就绪并立即启动的问题,从而导致接口绑定问题……
                
                
                  
                    —
                    TCB13 2015年