From: Chris Koeritz Date: Tue, 13 Mar 2018 15:45:18 +0000 (-0400) Subject: added standup as sudo alias X-Git-Tag: 2.140.110^2~10 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=8064b3bda39bcb17d8550006a2e99cd9e5cfadee;p=feisty_meow.git added standup as sudo alias --- diff --git a/scripts/core/common.alias b/scripts/core/common.alias index ea906108..a00ace6b 100644 --- a/scripts/core/common.alias +++ b/scripts/core/common.alias @@ -110,8 +110,9 @@ define_yeti_alias add_apache_site="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_ap define_yeti_alias remove_apache_site="sudo bash \$FEISTY_MEOW_SCRIPTS/system/remove_apache_site.sh" define_yeti_alias add_swap_mount="sudo bash \$FEISTY_MEOW_SCRIPTS/system/add_swap_mount.sh" -#hmmm: some magma intrusions from the fred customizations... +# some site avenger sudoized aliases. define_yeti_alias revamp_cakelampvm="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/revamp_cakelampvm.sh\"" +define_yeti_alias standup="sudo bash \"$FEISTY_MEOW_SCRIPTS/site_avenger/standup.sh\"" ############## diff --git a/scripts/site_avenger/standup.sh b/scripts/site_avenger/standup.sh index f6fb8e55..6e93af94 100644 --- a/scripts/site_avenger/standup.sh +++ b/scripts/site_avenger/standup.sh @@ -49,7 +49,8 @@ fi # force the sudo at the start of the script, rather than waiting halfway # through to ask for access. -sudo bash -c 'echo sudo permissions acquired.' +#sudo bash -c 'echo sudo permissions acquired.' +#hmmm: no longer necessary since whole script is sudoized from alias. source "$WORKDIR/shared_site_mgr.sh"