/[smecontribs]/rpms/smeserver-libreswan/contribs10/smeserver-libreswan-fix-init-link.patch
ViewVC logotype

Annotation of /rpms/smeserver-libreswan/contribs10/smeserver-libreswan-fix-init-link.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 11 15:03:31 2025 UTC (9 days, 4 hours ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-libreswan-0_5-37_el7_sme, HEAD
* Tue Feb 11 2025 John Crisp <jcrisp@safreqandsoundit.co.uk> 0.5-37.sme
- Fix broken url

1 jcrisp 1.1 diff -ruN smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update
2     --- smeserver-libreswan-0.5.old/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 13:59:37.111200955 +0100
3     +++ smeserver-libreswan-0.5/root/etc/e-smith/events/actions/ipsec-update 2025-02-11 14:02:43.040218470 +0100
4     @@ -18,6 +18,8 @@
5     # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6     #----------------------------------------------------------------------
7    
8     +# Feb 2025 this needs updating for systemd
9     +
10     # Note that we do not need to use the init ipsec script - we can start and
11     # stop directly using /usr/sbin/ipsec which will call the init script
12    
13     @@ -240,7 +242,7 @@
14     }
15    
16     print "Ipsec Information - ipsec enabled - Starting ipsec\n ";
17     - my $myStartConnection = qx(/etc/rc.d/init.d/ipsec start);
18     + my $myStartConnection = qx(/usr/sbin/ipsec start);
19     die("Ipsec Error - Unable to launch ipsec start : $!\n ")
20     if not defined $myStartConnection;
21     die("Ipsec Error - Unable to launch ipsec start ( error code $?)\n ") if $?;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed