스크립트를 만든다.
/etc/rc2.d/S83samba
스크립트 내용…
==========================
case “$1″ in
start)
[ -f /usr/local/samba/lib/smb.conf ] || exit 0
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
;;
stop)
pkill smbd
pkill nmbd
;;
*)
echo “Usage: $0 { start | stop }”
exit 1
;;
esac
exit 0
=============================
This entry was posted
on 금요일, 4월 2nd, 2004 at 12:54 오전 and is filed under ETC(기타).
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Leave a reply