bacula/bacula-5.2.2-hostname.patch

20 lines
500 B
Diff
Raw Normal View History

2011-12-11 17:28:18 +00:00
diff -Naur bacula-5.2.2.old/configure bacula-5.2.2/configure
--- bacula-5.2.2.old/configure 2011-11-26 15:08:12.000000000 +0100
+++ bacula-5.2.2/configure 2011-12-11 18:17:30.530625327 +0100
@@ -30019,15 +30019,6 @@
MACOSX=
COMPRESS_MANPAGES=yes
-hostname=`uname -n | cut -d '.' -f 1`
-if test x${hostname} = x ; then
- hostname="localhost"
-fi
-ping -c 1 $hostname 2>/dev/null 1>/dev/null
-if test ! $? = 0; then
- hostname="localhost"
-fi
-
case "$DISTNAME" in
aix)
DISTVER=`uname -r`