X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fsamba;h=2fbc784b2a2ab888ac6c844b3b0ab64b4ffa1b8f;hb=66f439f5c705ed61c76f7839cec305674661b7e8;hp=a37bce83dab5ab8590c83a0f73841eb1aabe7759;hpb=38a036800434ff4f8381cfb921b2f216937a43e9;p=hvlinux.git diff --git a/stage5/pkg/samba b/stage5/pkg/samba index a37bce8..2fbc784 100644 --- a/stage5/pkg/samba +++ b/stage5/pkg/samba @@ -37,8 +37,19 @@ hvbuild_post() # Configuring SWAT string_add "swat 901/tcp" /etc/services string_add "swat_tunnel 902/tcp" /etc/services - string_add "swat stream tcp nowait.400 root /usr/sbin/swat swat" \ - /etc/inetd.conf + + cat > /etc/xinetd.d/swat << "EOF" +service swat +{ + disable = no + socket_type = stream + protocol = tcp + wait = no + user = root + server = /usr/sbin/swat + log_type = SYSLOG local4 info +} +EOF # Bootscript install -v -m740 ${SCRDIR}/bootscripts/samba /etc/rc.d/init.d