- [root@CentOS ~]# chkconfig --list |grep NetworkManager
- NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
- [root@CentOS ~]# chkconfig --level 12346 NetworkManager off
- [root@CentOS ~]# chkconfig --list |grep NetworkManager
- NetworkManager 0:off 1:off 2:off 3:off 4:off 5:on 6:off
- [root@CentOS ~]# service network restart
- Shutting down interface eth0: [ OK ]
- Shutting down loopback interface: [ OK ]
- Bringing up loopback interface: [ OK ]
- Bringing up interface eth0: [ OK ]