tonhor
17-09-2008, 01:59 PM
เราลองมาเขียน header ของ service ต่างๆเพิ่มกันหน่อยเพราะเนื่องจากว่า
สคิปของ service บางตัวที่เราลงแบบ complie source อาจจะเขียนมาให้ไม่ครบ
อย่างเช่น freeradius นี้สคิปของ service จะเขียนส่วน header มาไม่ครบ
เราไม่สามารถใช้ chkconfig ได้
[root@localhost ~]# chkconfig radiusd on
service radiusd does not support chkconfig
เพราะฉะนั้นเราก็ต้องเพิ่มมันสักหน่อย
[hide=10]
[code][root@localhost freeradius]# vi /etc/rc.d/init.d/radiusd
สคิปของ service บางตัวที่เราลงแบบ complie source อาจจะเขียนมาให้ไม่ครบ
อย่างเช่น freeradius นี้สคิปของ service จะเขียนส่วน header มาไม่ครบ
เราไม่สามารถใช้ chkconfig ได้
[root@localhost ~]# chkconfig radiusd on
service radiusd does not support chkconfig
เพราะฉะนั้นเราก็ต้องเพิ่มมันสักหน่อย
[hide=10]
[code][root@localhost freeradius]# vi /etc/rc.d/init.d/radiusd