summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2006-04-12 01:30:05 +0000
committerMike Auty <ikelos@gentoo.org>2006-04-12 01:30:05 +0000
commit9b7ddfd98c9290cda7fa59ae575de50a984b3564 (patch)
treef2843246f284fbcdba18b5f361eb36f3182c3a7b /app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch
parentUpdate manifests for vmware-* packages. (diff)
downloadvmware-9b7ddfd98c9290cda7fa59ae575de50a984b3564.tar.gz
vmware-9b7ddfd98c9290cda7fa59ae575de50a984b3564.tar.bz2
vmware-9b7ddfd98c9290cda7fa59ae575de50a984b3564.zip
Massive version bump for vmware-server-* packages.
svn path=/trunk/; revision=21
Diffstat (limited to 'app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch')
-rw-r--r--app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch b/app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch
new file mode 100644
index 0000000..89c4e16
--- /dev/null
+++ b/app-emulation/vmware-server/files/vmware-server-1.0.0.22874-config6.patch
@@ -0,0 +1,28 @@
+--- vmware-server-distrib/bin/vmware-config.pl 2006-03-20 20:04:45.000000000 +0000
++++ vmware-server-distrib/bin/vmware-config.pl 2006-03-20 20:08:01.000000000 +0000
+@@ -6255,17 +6255,17 @@
+ #Restart xinetd
+ sub restart_xinetd {
+ my $xinetd_restart = db_get_answer('INITSCRIPTSDIR') . '/xinetd';
++ if (!system(shell_string($gHelper{'killall'}) . ' -USR2 xinetd')) {
++ return;
++ }
+ if (-e $xinetd_restart) {
+- if (!system(shell_string($xinetd_restart) . ' restart')) {
+- return;
++ if (system(shell_string($xinetd_restart) . ' restart')) {
++ query('Unable to make the Internet super-server (xinetd) re-read its '
++ . 'configuration file. Please restart xinetd by hand:' . "\n"
++ . ' killall -v -USR2 xinetd' . "\n\n"
++ . 'Hit enter to continue.', '', 0);
+ }
+ }
+- if (system(shell_string($gHelper{'killall'}) . ' -USR2 xinetd')) {
+- query('Unable to make the Internet super-server (xinetd) re-read its '
+- . 'configuration file. Please restart xinetd by hand:' . "\n"
+- . ' killall -v -USR2 xinetd' . "\n\n"
+- . 'Hit enter to continue.', '', 0);
+- }
+ }
+
+ # Update the Internet super-server's configuration file, and make the