summaryrefslogtreecommitdiffstats
path: root/satellit_installer
diff options
context:
space:
mode:
authorSteffen Ritter2024-01-24 14:11:22 +0100
committerSteffen Ritter2024-01-24 14:11:22 +0100
commit297b748f05841443d7a51ebf0537a4bd84218a97 (patch)
tree150da14a36960c5d42626fc7274a61c45a600fda /satellit_installer
parent[SSPS] firstrun: Fix delayed reboot (diff)
downloadsetup-scripts-297b748f05841443d7a51ebf0537a4bd84218a97.tar.gz
setup-scripts-297b748f05841443d7a51ebf0537a4bd84218a97.tar.xz
setup-scripts-297b748f05841443d7a51ebf0537a4bd84218a97.zip
[SSPS] Expand alias with sudo
Diffstat (limited to 'satellit_installer')
-rw-r--r--satellit_installer/static_files/system/opt/openslx/bashrc.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/satellit_installer/static_files/system/opt/openslx/bashrc.inc b/satellit_installer/static_files/system/opt/openslx/bashrc.inc
index 6e8689e..b5fa467 100644
--- a/satellit_installer/static_files/system/opt/openslx/bashrc.inc
+++ b/satellit_installer/static_files/system/opt/openslx/bashrc.inc
@@ -13,3 +13,5 @@ PS1="\[\033[01;${slxcol}m\]\u\[\033[00m\]@\[\033[01;32m\]\h \[\033[00m\]($slxip)
unset slxif slxip slxcol slxchar
# We always want to run this as root; sudo is a noop in case we already are.
alias tmate='sudo tmate'
+# Also expand aliases when using sudo
+alias sudo='sudo '