iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
various fixes
[automated-distro-installer]
/
myfai-chboot
diff --git
a/myfai-chboot
b/myfai-chboot
index e216aa077e0e9afe19b0fc572e173c4e55afa43e..32addc589e4f2a2b9455ec4d48b47ff39c5dc40c 100755
(executable)
--- a/
myfai-chboot
+++ b/
myfai-chboot
@@
-15,4
+15,10
@@
EOF
cd "${BASH_SOURCE%/*}" # directory of the script
-ssh root@faiserver bash -s "$@" <myfai-chboot-local
+host=$(chost faiserver)
+ssh root@$host bash -s "$@" <myfai-chboot-local
+if [[ $1 ]]; then
+ ./faiserver-enable
+else
+ ./faiserver-disable
+fi