summaryrefslogtreecommitdiff
path: root/debian/patches/non-interactive-install.patch
blob: c9f7252c5a354b121222d499dd4b79bdb8f6a4d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Remove interactive mode from configure, speed up build
Author: Dave Hibberd <d@vehibberd.com>
Last-Update: 2018-02-10

--- a/configure
+++ b/configure
@@ -1,11 +1,5 @@
 #!/bin/sh
 
-echo -n "Use interactive mode? [Y/n]: "; read answer
-if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
-   then NON_INTERACTIVE=0;
-       else NON_INTERACTIVE=1;
-fi
-
 _sleep()
 {
   [ "$NON_INTERACTIVE" = 1 ] || sleep "$@"
@@ -122,6 +116,9 @@
 	if [ $? -ne 1 ]
 	then
 		HAVEAX25="#define HAVE_AX25	1"
+		#These have been moved out of tcp-ip so I have an MOTD when I don't build telnet in
+		HAVEMOTD="#define HAVEMOTD"
+		MOTDPATH='"/etc/ax25/uronode.motd"'
 	fi
 	#
 #        echo -n "Include support for the FlexNet protocol ? [Y/n]: "; read answer