diff options
author | Andrew Tridgell <tridge@samba.org> | 1999-12-13 13:35:20 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1999-12-13 13:35:20 +0000 |
commit | 32a965e09ce4befe971855e11e1fb5ceb51a9ed1 (patch) | |
tree | 157f164263a56d7e3f2ca1fe9a05a9df24f25234 /packaging/Solaris/pkg-specs/postinstall | |
parent | 3db52feb1f3b2c07ce0b06ad4a7099fa6efe3fc7 (diff) | |
download | samba-32a965e09ce4befe971855e11e1fb5ceb51a9ed1.tar.gz samba-32a965e09ce4befe971855e11e1fb5ceb51a9ed1.tar.bz2 samba-32a965e09ce4befe971855e11e1fb5ceb51a9ed1.zip |
2nd phase of head branch sync with SAMBA_2_0 - this delets all the files that were in the head branch but weren't in SAMBA_2_0
(This used to be commit d7b208786590b5a28618590172b8d523627dda09)
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 0fbe9da10b..0000000000 --- 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 - |