Functions CLI (#191)

First iteration of CLI tool.
This commit is contained in:
C Cirello
2016-10-24 09:21:07 -07:00
committed by GitHub
parent 946ba1b188
commit b8cc8ad1d5
14 changed files with 813 additions and 24 deletions

7
fnctl/entrypoint.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
HOST=$(/sbin/ip route|awk '/default/ { print $3 }')
echo "$HOST default localhost localhost.local" > /etc/hosts
/fnctl "$@"