X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=0377b1c1526ffe9409d5b4b57c98c615cf96337a;hb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2;hp=783c6cebab6c90c46a95fab76bb611a416a92636;hpb=f9ec6d39566c13775abd5d1709a44e5bd1c32997;p=distro-setup diff --git a/distro-begin b/distro-begin index 783c6ce..0377b1c 100755 --- a/distro-begin +++ b/distro-begin @@ -22,6 +22,24 @@ # set the scrollback to unlimited in case something goes wrong +# send to registrar, glue records: +# for iankelling.org: + +# ns1.iankelling.org 72.14.176.105 +# ns1.iankelling.org 2600:3c00::f03c:91ff:fe6d:baf8 +# ns2.iankelling.org 172.105.84.95 +# ns2.iankelling.org 2a01:7e01::f03c:91ff:feb5:baec + +# for zroe.org: + +# ns1.zroe.org 72.14.176.105 +# ns1.zroe.org 2600:3c00::f03c:91ff:fe6d:baf8 +# ns2.zroe.org 172.105.84.95 +# ns2.zroe.org 2a01:7e01::f03c:91ff:feb5:baec +# + + + ####### begin setup environment ####### @@ -218,7 +236,7 @@ done ###### do conflink # linode needs bind group before conflink -if $linode; then +if linode; then pi-nostart bind9 fi # this needs to be before installing pacserve so we have gpg conf. @@ -228,6 +246,7 @@ conflink set +x err-allow source /etc/profile.d/environment.sh +export BRC=t # shellcheck source=./.bashrc source ~/.bashrc err-catch @@ -317,7 +336,7 @@ case $distro in sudo rmmod evbug ||: # might not be loaded yet file=/etc/modprobe.d/evbug.conf line="blacklist evbug" - if ! grep -xFq "$line" $file; then + if [[ $(cat $file) != $line ]]; then sudo dd of=$file 2>/dev/null <<<"$line" sudo depmod -a sudo update-initramfs -u