From c99d1c9800bbd0279e45f9acded818b14a96b7e7 Mon Sep 17 00:00:00 2001 From: Michael Gebetsroither Date: Sat, 19 Nov 2005 10:56:59 +0100 Subject: [PATCH] fixed bug with not stopping portmapper (additional killall -9) --- debian/changelog | 3 ++- grml-terminalserver | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index b23de61..7c9f48d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,9 @@ grml-terminalserver (0.68) unstable; urgency=low * fixed bug in dhcp-config template * fixed bug with false NETWORK_ * changed configfile layout (still fully compatibel to older versions) + * fixed bug with not stopping portmapper (additional killall -9) - -- Michael Gebetsroither Sat, 19 Nov 2005 10:51:23 +0100 + -- Michael Gebetsroither Sat, 19 Nov 2005 10:56:16 +0100 grml-terminalserver (0.67) unstable; urgency=low diff --git a/grml-terminalserver b/grml-terminalserver index 7b990d2..d69a3e5 100755 --- a/grml-terminalserver +++ b/grml-terminalserver @@ -60,6 +60,11 @@ OPTIONS: EOT } +function killPortmapper +{ + /etc/init.d/portmap stop >/dev/null 2>&1 + killall -9 portmap +} # DHCP SERVICE {{{ function createDhcpConf @@ -161,7 +166,7 @@ function stopNfs else /etc/init.d/nfs-kernel-server stop >/dev/null 2>&1 /etc/init.d/nfs-common stop >/dev/null 2>&1 - /etc/init.d/portmap stop >/dev/null 2>&1 + killPortmapper fi } # }}} -- 2.1.4