星期四, 6月 08, 2006

z3950 寫進開機流程

vim z3950

#!/bin/sh

/opt/koha/intranet/scripts/z3950daemon/z3950-daemon-launch.sh

#update-rc.d z3950 defaults

系統會建立所有 runlevel link

Adding system startup for /etc/init.d/z3950 ...
/etc/rc0.d/K20z3950 -> ../init.d/z3950
/etc/rc1.d/K20z3950 -> ../init.d/z3950
/etc/rc6.d/K20z3950 -> ../init.d/z3950
/etc/rc2.d/S20z3950 -> ../init.d/z3950
/etc/rc3.d/S20z3950 -> ../init.d/z3950
/etc/rc4.d/S20z3950 -> ../init.d/z3950
/etc/rc5.d/S20z3950 -> ../init.d/z3950

最後用 rcconf check 是否開啟 services
#rcconf

沒有留言: