Ver código fonte

For FreeBSD, move netclient to executable directory.

Caleb Gasser 3 anos atrás
pai
commit
db0d866d37
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      scripts/netclient-install.sh

+ 3 - 0
scripts/netclient-install.sh

@@ -214,6 +214,9 @@ if [ "${KEY}" != "nokey" ]; then
   fi
 fi
 
+if [ "${OS}" = "FreeBSD" ]; then
+  mv netclient /usr/sbin  
+fi
 
 if [ "${OS}" = "OpenWRT" ]; then
 	mv ./netclient /sbin/netclient