first commit

This commit is contained in:
Erreur32 2020-04-04 11:57:16 +02:00
parent 8c33c58e07
commit 4dabdd7cb9
4 changed files with 16 additions and 18 deletions

View File

@ -203,9 +203,7 @@ Explanation of the report
Stats Repo
----------
- https://echosystem.fr/MOTDs32
- https://echosystem.fr/MOTDs32/32.html
- https://echosystem.fr/MOTDs32/Stats/index.html
- https://l.echosystem.fr/MOTDs32stats

View File

@ -1,4 +1,5 @@
#!/bin/sh
#!/usr/bin/env bash
#
# Stats32 script generate some system infos for the motd file.
# Date: 08/2017

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# MOTDs32 powered by Erreur32
# Original Author: Krigler Pavol

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
#
# MOTDs32 installation instructions
# ==================================
@ -35,13 +35,12 @@
#
################################################################################
# Make sure only root can run our script
#if [[ $EUID -ne 0 ]]; then
# echo "This script must be run as root" 1>&2
# exit 1
#fi
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
## clean terminal
#clear;
BG_BLUE="$(tput setab 4)"
BG_BLACK="$(tput setab 0)"
FG_GREEN="$(tput setaf 2)"