X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=52199b8216d2167f6ee6acd6aa9aa4ff93dadfa1;hb=6f1f8a104c9b38936ade2d27e835479523985133;hp=3cc63c2e3e10ba81553c315f708059e037894871;hpb=63acc2d602eb316a1c0abb7ec842e4789c8beaec;p=distro-setup diff --git a/distro-end b/distro-end index 3cc63c2..52199b8 100755 --- a/distro-end +++ b/distro-end @@ -93,7 +93,7 @@ case $distro in trisquel|ubuntu) # this isn't a complete solution. It still shows me when updates are available, # but it's no big deal. - s t /etc/update-motd.d/10-help-text /etc/update-motd.d/00-header + s rm -f /etc/update-motd.d/10-help-text /etc/update-motd.d/00-header ;; esac @@ -164,7 +164,13 @@ case $HOSTNAME in li) pi bind9 - + f=/var/lib/bind/db.b8.nz + if [[ ! -e $f ]]; then + ser stop bind9 + rm -f $f.jnl + install -m 644 -o bind -g bind /p/c/machine_specific/li/bind-initial/db.b8.nz $f + ser restart bind9 + fi case $HOSTNAME in li) domain=iankelling.org ;; @@ -428,7 +434,7 @@ EOF s dd of=/etc/apt/preferences.d/debian-goodies <$t <$t <