From 8064b3bda39bcb17d8550006a2e99cd9e5cfadee Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 13 Mar 2018 11:45:18 -0400 Subject: [PATCH] added standup as sudo alias --- scripts/core/common.alias | 3 ++- scripts/site_avenger/standup.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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" -- 2.34.1