mirror of
https://github.com/JonasunderscoreJones/ArchSystemSetup.git
synced 2025-10-22 19:19:20 +02:00
added logger
This commit is contained in:
parent
2f32d462f2
commit
f500cc2581
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,11 @@ if [[ "$1" == "--help" || "$2" == "--help" ]]; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
logger() {
|
||||
local message="$1"
|
||||
echo -e "\e[32m$message\e[0m"
|
||||
}
|
||||
|
||||
# Keep the sudo session alive
|
||||
while true; do sudo -v; sleep 60; done &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue