Skip to content

Commit

Permalink
Exit early if the old -bridge x,x,x format is used
Browse files Browse the repository at this point in the history
To advise on using the new format over the depricated old method which
took tap,bridge,hostEthernet.
  • Loading branch information
ipaqmaster committed Mar 16, 2024
1 parent 8619fd7 commit 0ca2233
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,12 @@ do
bridge="${2}"
networking=1
checkDependency dhclient openssl ip
if [[ ${bridge} =~ , ]]
then
printer "${colors[red]}-bridge has been split into -bridge -hostint and -tap."
printer "${colors[red]}Please use these new arguments for each desired component."
exit 1
fi
shift
;;
-tap|-interface)
Expand Down

0 comments on commit 0ca2233

Please sign in to comment.