sudo usermod -a -G uucp $USER
;;
esac
-lnf -T /a/opt/sketches ~/Arduino
# this is for the mail command too. update-alternatives is kind of misleading
# since at least it's main commands pretend mail does not exist.
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
-p="$(lsof -i tcp:31416 -Fp -a -c java | sed -rn 's/^p//p')" ||:
-if [[ $p ]]; then
- kill $p
-fi
+# using the rust version now, not sure the equivalent
+# p="$(lsof -i tcp:31416 -Fp -a -c java | sed -rn 's/^p//p')" ||:
+# if [[ $p ]]; then
+# kill $p
+# fi
# so we don't hold open the /a fs
-sudo rsync -r --delete /a/opt/gnirehtet /opt
-cd /opt/gnirehtet
+sudo rsync -r --delete /a/opt/gnirehtet-rust-linux64 /opt
+cd /opt/gnirehtet-rust-linux64
# just running it in foreground so it's easier to kill etc.
-./gnirehtet rt
+./gnirehtet run
# note, to kill it, you need to also kill