1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-22 23:02:25 -05:00

Make sample script also POSIX compliant

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-26 00:12:29 -07:00
parent e3104f037f
commit 3ff024e21b
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# 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
output(){
echo -e '\e[36m'"$1"'\e[0m';
printf '\e[1;34m%-6s\e[m\n' "${@}"
}
unpriv(){