mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 01:21:33 -05:00
Make sample script also POSIX compliant
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e3104f037f
commit
3ff024e21b
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# Copyright (C) 2024 Thien Tran
|
# Copyright (C) 2024 Thien Tran
|
||||||
#
|
#
|
||||||
@ -17,7 +17,7 @@
|
|||||||
# Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh
|
# Assumes that it is run AFTER https://github.com/TommyTran732/Linux-Setup-Scripts/blob/main/Ubuntu-24.04-Server.sh
|
||||||
|
|
||||||
output(){
|
output(){
|
||||||
echo -e '\e[36m'"$1"'\e[0m';
|
printf '\e[1;34m%-6s\e[m\n' "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
unpriv(){
|
unpriv(){
|
||||||
|
Loading…
Reference in New Issue
Block a user