exec &>/var/log/keyscript-off.log
echo "$0: starting. $(date)"
fi
-
sed="sed --follow-symlinks"
+if [[ $HOSTNAME == kw ]]; then
+ exit 0
+fi
+
if [[ $($sed -rn 's/^ID=(.*)/\1/p' /etc/os-release) == arch ]]; then
if grep -q '^\s*FILES=' /etc/mkinitcpio.conf; then
$sed -ri 's/^\s*FILES=/#\0/' /etc/mkinitcpio.conf # comment out
# switch to easy or hard pass which is the same as luks
f=/q/root/shadow/traci
-[[ $HOSTNAME != tp ]] || usermod -p "$(cat $f)" ian
+[[ $HOSTNAME != tpnew ]] || usermod -p "$(cat $f)" iank
echo "$0: finished. $(date)"