X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=dsfull;h=91ab8ecfcb94b8427d62dc03f96e6fa767f46c79;hp=06af7f8f68e2ac0cd0f5fb768e83fcaf93dde284;hb=HEAD;hpb=7f77555b3d92709034fe41919358053c650c71e1 diff --git a/dsfull b/dsfull index 06af7f8..709ddab 100755 --- a/dsfull +++ b/dsfull @@ -1,4 +1,4 @@ -#!/bin/bash -l +#!/bin/bash # Copyright (C) 2016 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,9 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -eE -o pipefail -cleanup() { :; } -trap 'cleanup; echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi reboot=true if [[ $1 == -r ]]; then @@ -26,10 +24,15 @@ fi usage() { cat <