iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes and alert improvements
[distro-setup]
/
distro-begin
diff --git
a/distro-begin
b/distro-begin
index 84900fe1de71587a385f4e65a8ed774ddaffcd78..0fee0af25f0b7d12274738729482f326a5d279b3 100755
(executable)
--- a/
distro-begin
+++ b/
distro-begin
@@
-280,6
+280,9
@@
sudo /a/exe/lnf /a/c/.vim /a/c/.vimrc /a/c/.gvimrc /root
if vps; then
pi-nostart bind9
fi
if vps; then
pi-nostart bind9
fi
+if bitfolk; then
+ pi-nostart unbound
+fi
# this needs to be before installing pacserve so we have gpg conf.
conflink
rootsshsync
# this needs to be before installing pacserve so we have gpg conf.
conflink
rootsshsync
@@
-319,8
+322,9
@@
case $HOSTNAME in
bk)
sudo sed -i --follow-symlinks 's/^ *hosts:.*/hosts: files dns myhostname/' /etc/nsswitch.conf
soff systemd-resolved
bk)
sudo sed -i --follow-symlinks 's/^ *hosts:.*/hosts: files dns myhostname/' /etc/nsswitch.conf
soff systemd-resolved
- ln -sf 127.0.0.1-resolv/stub-resolv.conf /etc/resolv.conf
- sgo bind9
+ sudo ln -sf 127.0.0.1-resolv/stub-resolv.conf /etc/resolv.conf
+ sgo unbound
+ sgo named
# cautious measure to make sure bind is up
sleep 1
;;
# cautious measure to make sure bind is up
sleep 1
;;