diff options
| author | Florian Eckert <fe@dev.tdt.de> | 2023-12-20 09:53:52 +0100 |
|---|---|---|
| committer | Florian Eckert <fe@dev.tdt.de> | 2023-12-20 15:01:14 +0100 |
| commit | 01d8f5c9befdce35d4d254aaa0793b8daa4b0008 (patch) | |
| tree | c24ffc7fef273b8699b4f1f75faeacf8c613ad60 /net/openvpn | |
| parent | 14bed0f1efa0f1f3b892a110565c741f43164769 (diff) | |
openvpn: rename start_instance to start_uci_instance
Preparation commit to make it clear that this is a uci configuration.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'net/openvpn')
| -rw-r--r-- | net/openvpn/files/openvpn.init | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/openvpn/files/openvpn.init b/net/openvpn/files/openvpn.init index 6eb305135..af59098af 100644 --- a/net/openvpn/files/openvpn.init +++ b/net/openvpn/files/openvpn.init @@ -171,7 +171,7 @@ openvpn_add_instance() { procd_close_instance } -start_instance() { +start_uci_instance() { local s="$1" config_get config "$s" config @@ -226,9 +226,9 @@ start_service() { if [ -n "$instance" ]; then [ "$instance_found" -gt 0 ] || return - start_instance "$instance" + start_uci_instance "$instance" else - config_foreach start_instance 'openvpn' + config_foreach start_uci_instance 'openvpn' local path name up down for path in /etc/openvpn/*.conf; do |
