X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=distro-end;h=bc334d659261c84d032cba53e273130b6d0f90e4;hp=b883fec1ce82becebcc92b6963985338508ac3d8;hb=f95f9128ba77e77d41389810affd475581075246;hpb=092eddeca14a9e0694ce9550abdb663b9e900489 diff --git a/distro-end b/distro-end index b883fec..bc334d6 100755 --- a/distro-end +++ b/distro-end @@ -54,7 +54,7 @@ popularity-contest popularity-contest/participate boolean true EOF ########### begin section including li ################ -pi ${p3[@]} $($src/distro-pkgs) +pi ${p3[@]} #### desktop stuff case $codename_compat in @@ -193,6 +193,11 @@ s dpkg-reconfigure -u -fnoninteractive unattended-upgrades # Setup daily reboots, so all unattended upgrades go into affect # unattended upgrades happen at 6 am + rand(60 min). echo '20 7 * * * root /usr/local/bin/zelous-unattended-reboot' | s dd of=/etc/cron.d/unattended-upgrade-reboot +case $(debian-codename) in + flidas) + if [[ ! -e /usr/local/bin/checkrestart ]]; then + ;; +esac ##### end automatic upgrades #### # office is not exposed to internet yet @@ -609,13 +614,142 @@ esac ########### end section including li/lj ############### + +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 <$t <$t </dev/null <$t <$t </dev/null; then # manual instructions # wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import - # echo is to get past prompt - echo | sudo -E HOME=/home/iank bash guix-install.sh + yes | sudo -E HOME=$HOME bash guix-install.sh || [[ $? == 141 ]] guix install glibc-utf8-locales guix package --install guile fi +# install rust +curl https://sh.rustup.rs -sSf | bash -s -- -y +cargo install ripgrep + #### tor case $distro in # based on @@ -1762,16 +1787,12 @@ make sure to reload the firewall to load the persistent configuration EOF pi nfs-utils - sgo nfs-server ;; debian|trisquel|ubuntu) - pi nfs-server + pi-nostart nfs-server ;; arch) pi nfs-utils || pending_reboot=true - sgo rpcbind - # this failed until I rebooted - sgo nfs-server ;; esac