标签:
修改/etc/rc.local文件(增加红色部分)
[root@localhost ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don‘t
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
service smb restart
标签:
原文地址:http://www.cnblogs.com/719907411hl/p/5389109.html