testing: Use absolute path to the _updown script in SQL scenarios
/usr/local/sbin is not included in PATH set by the charon init script and since the ipsec script is obsolete when using swanctl it makes sense to change this anyway.
This commit is contained in:
@@ -156,7 +156,7 @@ INSERT INTO peer_configs (
|
||||
INSERT INTO child_configs (
|
||||
name, updown
|
||||
) VALUES (
|
||||
'home', 'ipsec _updown iptables'
|
||||
'home', '/usr/local/libexec/ipsec/_updown iptables'
|
||||
);
|
||||
|
||||
INSERT INTO peer_config_child_config (
|
||||
|
||||
@@ -159,7 +159,7 @@ INSERT INTO peer_configs (
|
||||
INSERT INTO child_configs (
|
||||
name, updown
|
||||
) VALUES (
|
||||
'home', 'ipsec _updown iptables'
|
||||
'home', '/usr/local/libexec/ipsec/_updown iptables'
|
||||
);
|
||||
|
||||
INSERT INTO peer_config_child_config (
|
||||
|
||||
@@ -129,7 +129,7 @@ INSERT INTO peer_configs (
|
||||
INSERT INTO child_configs (
|
||||
name, updown
|
||||
) VALUES (
|
||||
'rw', 'ipsec _updown iptables'
|
||||
'rw', '/usr/local/libexec/ipsec/_updown iptables'
|
||||
);
|
||||
|
||||
INSERT INTO peer_config_child_config (
|
||||
|
||||
Reference in New Issue
Block a user