fehler in wg_stop gefixt und import test5
This commit is contained in:
5
wire_g
5
wire_g
@ -89,7 +89,7 @@ import_wg(){
|
||||
wg_stop
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
|
||||
|
||||
else
|
||||
nmcli connection import type wireguard file $wgconf &> ${wg_wdir}.tmp.txt
|
||||
wg_notify
|
||||
@ -102,7 +102,8 @@ import_wg(){
|
||||
--fixed --center --buttons-layout=center --borders=8 \
|
||||
--text $"<b>Oh, something went wrong.</b> \n
|
||||
<b>No valid Wireguard file.</b> \n
|
||||
<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span> \n" ;;
|
||||
<b>Here is an example:</b><span color='#0fad0a'><b> my_wireguard.conf</b></span> \n"
|
||||
more ;;
|
||||
esac
|
||||
}
|
||||
export -f import_wg
|
||||
|
Reference in New Issue
Block a user