Merge pull request #15430 from pprindeville/strongswan-add-ipsec-warning
strongswan: add deprecation warning to ipsec script
This commit is contained in:
commit
c62d9ebec9
2 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=strongswan
|
PKG_NAME:=strongswan
|
||||||
PKG_VERSION:=5.9.2
|
PKG_VERSION:=5.9.2
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
|
PKG_SOURCE_URL:=https://download.strongswan.org/ https://download2.strongswan.org/
|
||||||
|
|
|
@ -354,6 +354,8 @@ service_triggers() {
|
||||||
start_service() {
|
start_service() {
|
||||||
prepare_env
|
prepare_env
|
||||||
|
|
||||||
|
warning "Strongswan is deprecating the ipsec CLI; please migrate to swanctl."
|
||||||
|
|
||||||
[ $WAIT_FOR_INTF -eq 1 ] && return
|
[ $WAIT_FOR_INTF -eq 1 ] && return
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
|
|
Loading…
Reference in a new issue