projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Complété transition inetd -> xinetd
[hvlinux.git]
/
stage5
/
pkg
/
samba
diff --git
a/stage5/pkg/samba
b/stage5/pkg/samba
index
a37bce8
..
2fbc784
100644
(file)
--- 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
# 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
# Bootscript
install -v -m740 ${SCRDIR}/bootscripts/samba /etc/rc.d/init.d