diff options
author | cvs2svn Import User <samba-bugs@samba.org> | 1997-10-10 14:46:44 +0000 |
---|---|---|
committer | cvs2svn Import User <samba-bugs@samba.org> | 1997-10-10 14:46:44 +0000 |
commit | 4480ee713f3ebaaf6852c2e3a5967b30e587f7db (patch) | |
tree | 70a8a34fa622fd9adef3dd7f65da299bf6c3e48a /packaging/Solaris/pkg-specs/postinstall | |
parent | 3590a783338defa4ff1385b2d5bb095c5051ac82 (diff) | |
download | samba-misc-tags/samba.tar.gz samba-misc-tags/samba.tar.xz samba-misc-tags/samba.zip |
This commit was manufactured by cvs2svn to create tag 'samba'.samba-misc-tags/samba
Diffstat (limited to 'packaging/Solaris/pkg-specs/postinstall')
-rw-r--r-- | packaging/Solaris/pkg-specs/postinstall | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/packaging/Solaris/pkg-specs/postinstall b/packaging/Solaris/pkg-specs/postinstall deleted file mode 100644 index 0fbe9da10b5..00000000000 --- a/packaging/Solaris/pkg-specs/postinstall +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# install samba - -nawk '/^netbios-[ns]*[ ]/ {next} -{print} -END { print "netbios-ssn 139/tcp" - print "netbios-ns 137/udp # samba service" }' \ - ${PKG_INSTALL_ROOT}/etc/inet/services > /tmp/services.$$ && \ - mv -f /tmp/services.$$ ${PKG_INSTALL_ROOT}/etc/inet/services && -\ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/services && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/services" - -nawk '/samba.*mbd[ ]/ { next } -{print} -END { print "# samba connections are handled by smbd and nmbd" - print "netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -smbd" - print "netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd" }' -\ - ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf > /tmp/inetd.conf.$$ && -\ - mv -f /tmp/inetd.conf.$$ ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf -&& \ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf" - -echo "Installed samba service into ${PKG_INSTALL_ROOT:-/}" - -inetpid=`/bin/ps -ef | awk '/ \/usr\/sbin\/inetd / { print $2 } '` -if [ "X$inetpid" = "X" ]; then - echo "inetd not running" -else - echo "Restarting inetd($inetpid)" - kill -HUP $inetpid -fi - |