SMF に統合されていないレガシーのサービス起動をサポートしているものをぶっ潰す。
要らないサービスの起動スクリプトを起動時にシステムが読まないようにする
# mv /etc/rc2.d/S40llc2 /etc/rc2.d/XS40llc2 # mv /etc/rc2.d/S47pppd /etc/rc2.d/XS47pppd # mv /etc/rc2.d/S72autoinstall /etc/rc2.d/XS72autoinstall # mv /etc/rc2.d/S90loc.ja.cssd /etc/rc2.d/XS90loc.ja.cssd # mv /etc/rc2.d/S90wbem /etc/rc2.d/XS90wbem # mv /etc/rc2.d/S90webconsole /etc/rc2.d/XS90webconsole # mv /etc/rc2.d/S94Wnn6 /etc/rc2.d/XS94Wnn6 # mv /etc/rc2.d/S94atsv /etc/rc2.d/XS94atsv # mv /etc/rc2.d/S95IIim /etc/rc2.d/XS95IIim
# mv /etc/rc3.d/S16boot.server /etc/rc3.d/XS16boot.server # mv /etc/rc3.d/S50apache /etc/rc3.d/XS50apache # mv /etc/rc3.d/S76snmpdx /etc/rc3.d/XS76snmpdx # mv /etc/rc3.d/S77dmi /etc/rc3.d/XS77dmi # mv /etc/rc3.d/S80mipagent /etc/rc3.d/XS80mipagent # mv /etc/rc3.d/S82initsma /etc/rc3.d/XS82initsma # mv /etc/rc3.d/S84appserv /etc/rc3.d/XS84appserv # mv /etc/rc3.d/S90samba /etc/rc3.d/XS90samba
再起動する
# init 6
for i in `ls /etc/rc2.d/S*` do j=`echo "$i" | sed 's/\/etc\/rc2.d\/S/\/etc\/rc2.d\/XS/'` mv $i $j done for i in `ls /etc/rc3.d/S*` do j=`echo "$i" | sed 's/\/etc\/rc3.d\/S/\/etc\/rc3.d\/XS/'` mv $i $j done