EOF
}
-for x in /a/c/repos/bash/!(.git); do
+for x in /a/c/repos/bash/!(.git|..|.); do
lnf-home "$x"
sudo -i <<EOF
PATH="/a/exe:$PATH"
/i/k /k none bind 0 0
EOF
-if ! mountpoint /kfrodo; then
- s mkdir -p /kfrodo
- s chown ian:traci /kfrodo
+if ! mountpoint /kr; then
+ s mkdir -p /kr
+ s chown ian:traci /kr
fi
-if [[ $HOSTNAME == frodo ]]; then
+if [[ $HOSTNAME == treetowl ]]; then
tu /etc/fstab <<'EOF'
-/k /kfrodo none bind 0 0
+/k /kr none bind 0 0
EOF
else
tu /etc/fstab <<'EOF'
-frodo:/k /kfrodo nfs defaults 0 0
+treetowl:/k /kr nfs defaults 0 0
EOF
fi
# using debconf-set-selection, the area gets reset to ETC
# on my linode test machine after doing a dpkg-reconfigure, or a reinstall,
# so we are using expect :(
-apt-get install --no-install-recommends expect
+s apt-get -y install --no-install-recommends expect
s expect <<EOF
set force_conservative 0
spawn dpkg-reconfigure tzdata -freadline