9 lines
147 B
Bash
9 lines
147 B
Bash
#!/bin/bash
|
|
|
|
folder_path="vpn"
|
|
|
|
for file in "$folder_path"/*; do
|
|
if [[ -f "$file" ]]; then
|
|
nmcli con import type openvpn file $file
|
|
fi
|
|
done |