X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-begin;h=35c904a929d05693c03e73ef213fd6740843efa1;hb=af37f71b1c4e1dfa9ebe9a270f4b839cd742cad5;hp=fa5db412c9aac50d910a353120520304840967cf;hpb=2cff2dd2b8040e6cbd721932ae09142881d7e0a6;p=distro-setup diff --git a/distro-begin b/distro-begin index fa5db41..35c904a 100755 --- a/distro-begin +++ b/distro-begin @@ -61,8 +61,6 @@ fi ### arg parsing recompile=false -# for copying to a new data fs -bootstrapfs=false # old flag, needs new look before using. while [[ $1 == -* ]]; do case $1 in -r) recompile=true; shift ;; @@ -74,12 +72,12 @@ fi ##### variables/env setup -script_dir="$(readlink -f "$BASH_SOURCE")" +script_dir="$(readlink -f "$BASH_SOURCE")"; script_dir=${script_dir%/*} source $script_dir/pkgs set +x source /a/bin/distro-functions/src/identify-distros $interactive || set -x -for f in iank-dev htpc treetowl x2 frodo tp li lj demohost kw fz; do +for f in iank-dev htpc kd x2 frodo tp li lj demohost kw fz; do eval "$f() { [[ $HOSTNAME == $f ]]; }" done has_p() { ! linode; } # when tp is tracis, then not tp either