X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=5ae900f8b122d296cc511598e25b9bcddb857f8f;hb=f5c8ee56b55b90298b48c83ed0f7ec98cce96bb5;hp=904bc7908efb4b3a9203ad8a40676922a6f1ffe1;hpb=9a1d9240ee27b440bd872490b6bf4523352b59ad;p=distro-setup diff --git a/distro-begin b/distro-begin index 904bc79..5ae900f 100755 --- a/distro-begin +++ b/distro-begin @@ -193,6 +193,11 @@ lnf $x /root EOF done #### end link bashrc repo for root ###### + +# li needs the bind group before conflink +if [[ $HOSTNAME == li ]]; then + getent group bind &>/dev/null || sudo groupadd -r bind +fi # this needs to be before installing pacserve so we have gpg conf. conflink @@ -219,23 +224,19 @@ isfedora && tu /etc/sysctl.conf 'kernel.sysrq = 1' if isdeb; then - if isdebian-stable && has_x; then - codename=$(debian-codename) - s dd of=/etc/apt/sources.list.d/mozilla-iceweasel.list </dev/null; then - # pi $p - # fi - ;;& - trisquel|ubuntu) - if has_x; then - pi abrowser - fi - ;;& + trisquel|ubuntu|debian) if has_x; then if isdebian-testing; then @@ -520,10 +493,12 @@ EOF fi ;;& esac - if has_x; then pi xbindkeys fi +### end setup for keyboard and redshift ### + + pi cryptsetup lvm2 # enables trim for volume delete, other rare commands. sudo $sed -ri 's/( *issue_discards\b).*/\1 = 1/' /etc/lvm/lvm.conf