export HOSTNAME=$1
fi
-for f in iank-dev htpc treetowl x2 frodo tp li lj demohost; do
+for f in iank-dev htpc treetowl x2 frodo tp li lj demohost kw; do
eval "$f() { [[ $HOSTNAME == $f ]]; }"
done
-has_p() { treetowl || x2 || frodo || tp || demohost; }
+has_p() { ! linode; } # when tp is tracis, then not tp either
has_x() { ! linode; }
linode() { lj || li; }
has_btrfs() { ! linode; }
###### link files ###########
# convenient to just do all file linking in one place
-# if it wasn't set already, we could set hostname here
-#echo treetowl | s dd of=/etc/hostname
-#s hostname -F /etc/hostname
-#HOSTNAME=$(hostname)
-
s lnf -T /a/bin /b
s lnf -T /nocow/t /t
EOF
else
tu /etc/fstab <<'EOF'
-treetowl:/k /kr nfs noauto 0 0
+frodo:/k /kr nfs noauto 0 0
EOF
fi
fi
# the first pup command can kill off our /etc/ mod, so rerun this
/a/exe/ssh-emacs-setup
echo "$0: $(date): ending now"
+exit 0