mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-19 18:25:51 +08:00
Added check to see if netclient is present or not.
This commit is contained in:
parent
d47b6c0fc7
commit
70798739de
1 changed files with 6 additions and 2 deletions
|
@ -215,8 +215,12 @@ if [ "${KEY}" != "nokey" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${OS}" = "FreeBSD" ]; then
|
if [ "${OS}" = "FreeBSD" ]; then
|
||||||
|
if ! [ -f /usr/sbin/netclient ]; then
|
||||||
echo "Moving netclient executable to \"/usr/sbin/netclient\""
|
echo "Moving netclient executable to \"/usr/sbin/netclient\""
|
||||||
mv netclient /usr/sbin
|
mv netclient /usr/sbin
|
||||||
|
else
|
||||||
|
echo "Netclient already present."
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${OS}" = "OpenWRT" ]; then
|
if [ "${OS}" = "OpenWRT" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue