mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
1f4c93972e
Ipsec user script (/etc/ipsec.user) now get called indirectly by openwrt
"/sbin/hotplug-call". So other packages could also install their scripts
in "/etc/hotplug.d/ipsec".
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 6cd8fcabe6)
8 lines
75 B
Bash
8 lines
75 B
Bash
#!/bin/sh
|
|
|
|
[ -e "/etc/ipsec.user" ] && {
|
|
. /etc/ipsec.user "$2"
|
|
}
|
|
|
|
exit 0
|