From 32a965e09ce4befe971855e11e1fb5ceb51a9ed1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Dec 1999 13:35:20 +0000 Subject: 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) --- packaging/Solaris/pkg-specs/postremove | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 packaging/Solaris/pkg-specs/postremove (limited to 'packaging/Solaris/pkg-specs/postremove') diff --git a/packaging/Solaris/pkg-specs/postremove b/packaging/Solaris/pkg-specs/postremove deleted file mode 100644 index 7f7a5c1f8e..0000000000 --- a/packaging/Solaris/pkg-specs/postremove +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# remove samba - -nawk '/^netbios-[ns]*[ ]/ {next} -{print} ' \ - ${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} ' \ - ${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 "Removed samba service from ${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 - -- cgit