X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=distro-end;h=d51cbef4eb10ef72fc2c623c5a234c94ebb1d46a;hp=41b9104d436fa75d6d960e1d7cb78e528957cb1f;hb=0cc08a73110c15c4e7bbb8c8233a6c122c27490e;hpb=917ca4a71b5c456b741456dc173c144ee7042d89 diff --git a/distro-end b/distro-end index 41b9104..d51cbef 100755 --- a/distro-end +++ b/distro-end @@ -73,7 +73,6 @@ case $distro in ;; esac - # disable motd junk. case $distro in debian) @@ -119,6 +118,9 @@ if isdeb; then # docker eats up a fair amount of cpu when doing nothing, so don't enable it unless # we really need it. pi-nostart docker-ce + # and docker is even more crap, it ignores that it shouldnt start + ser stop docker + ser disable docker case $HOSTNAME in li|lj) sgo docker ;; esac @@ -171,6 +173,8 @@ case $HOSTNAME in ;; esac +pi ${p1[@]} + # website setup case $HOSTNAME in lj|li) @@ -568,8 +572,13 @@ esac ########### end section including li/lj ############### -pi ${p4[@]} $(apt-cache search ruby[.0-9]+-doc| awk '{print $1}') +# depends gcc is a way to install suggests. this is apparently the only +# way to install suggests even if the main package is already +# installed. reinstall doesn't work, uninstalling can cause removing +# dependent packages. +pi ${pall[@]} $(apt-cache search ruby[.0-9]+-doc| awk '{print $1}') $(apt-cache depends gcc|grep -i suggests:| awk '{print $2}') +sgo fsf-vpn-dns-cleanup case $distro in trisquel|ubuntu) @@ -707,10 +716,9 @@ fi case $distro in debian|trisquel|ubuntu) - # suggests because we want the resolvconf package. however, i install it earlier - # as well, so this is redundant. + # suggests resolvconf package. installing it here is redundant, but make sure anyways. # todo: check other distros to make sure it\'s installed - pi-nostart --install-suggests openvpn + pi-nostart openvpn resolvconf # pi-nostart does not disable ser disable openvpn ;; @@ -903,6 +911,7 @@ esac case $(debian-codename) in # needed for debootstrap scripts for fai since fai requires debian flidas) + curl http://archive.ubuntu.com/ubuntu/project/ubuntu-archive-keyring.gpg | s apt-key add - s dd of=/etc/apt/preferences.d/flidas-xenial </dev/null </dev/null <