]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - lfs/strongswan
strongswan: Customize the welcome banner.
[people/teissler/ipfire-2.x.git] / lfs / strongswan
index e2da4754a525306b1626d01d3931fda0946d618b..7370be9e5aa4d07cac54b53dbfdd23279cf8951e 100644 (file)
@@ -73,6 +73,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 
        cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/strongswan-4.5.3_ipfire.patch
 
+       # Customize the welcome banner.
+       sed -i $(DIR_APP)/src/pluto/modecfg.c \
+               -e 's/^#define.*DEFAULT_UNITY_BANNER.*/#define DEFAULT_UNITY_BANNER "Welcome to IPFire - An Open Source Firewall Solution.\\n"/'
+
        cd $(DIR_APP) && ./configure --prefix="/usr" --sysconfdir="/etc" \
                                        --enable-cisco-quirks \
                                        --enable-curl \