mirror of
https://github.com/femtofox/femtofox.git
synced 2026-11-26 09:56:32 -05:00
motd
This commit is contained in:
parent
642f7f073d
commit
24ab6aaaa1
3 changed files with 62 additions and 0 deletions
29
scripts/00-header
Normal file
29
scripts/00-header
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
[ -r /etc/lsb-release ] && . /etc/lsb-release
|
||||
|
||||
#printf "\n"
|
||||
echo "\e[92m @+ .**
|
||||
-@@@@@ @@@@@#
|
||||
#@@@@@ @@@@@@@@
|
||||
@@@@@* =@@@@@@@@@@:
|
||||
.@@@@@. %@@@@@ @@@@@#
|
||||
*@@@@@ @@@@@@ %@@@@@
|
||||
@@@@@% :@@@@@- -@@@@@
|
||||
@@@@@- #@@@@@ @@@@@+
|
||||
=@@@@@ @@@@@@ @@@@@@
|
||||
@@@@@@ .@@@@@= *@@@@@
|
||||
@@@@@+ +@@@@@ .@@@@@+
|
||||
:@@@@@ @@@@@@ @@@@@@
|
||||
#@@@@@ @@@@@* POWERED #@@@@@
|
||||
@@@@@# -@@@@@: :@@@@@-
|
||||
.@@@@@. %@@@@@ @@@@@%
|
||||
%@@ @@% @@@
|
||||
\033[0m"
|
||||
|
||||
|
||||
if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
|
||||
# Fall back to using the very slow lsb_release utility
|
||||
DISTRIB_DESCRIPTION=$(lsb_release -s -d)
|
||||
fi
|
||||
33
scripts/10-help-text
Normal file
33
scripts/10-help-text
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# 10-help-text - print the help text associated with the distro
|
||||
# Copyright (C) 2009-2010 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>,
|
||||
# Brian Murray <brian@canonical.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
[ -r /etc/lsb-release ] && . /etc/lsb-release
|
||||
|
||||
#printf "\n"
|
||||
printf " %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"
|
||||
printf " Meshtastic is a registered trademark of Meshtastic LLC.\n"
|
||||
printf " Meshtastic software components are released under various licenses,\n"
|
||||
printf " see GitHub for details. No warranty is provided - use at your own risk.\n"
|
||||
printf " Luckfox: wiki.luckfox.com This image built by github.com/noon92/femtofox\n"
|
||||
printf " This system has been minimized. To restore content, run 'unminimize'.\n\n"
|
||||
|
||||
printf "IP address: $(hostname -I | sed 's/ / /g') Uptime:$(uptime -p | awk '{$1=""; print $0}' | sed -e 's/ day\b/d/g' -e 's/ hour\b/h/g' -e 's/ hours\b/h/g' -e 's/ minute\b/m/g' -e 's/ minutes\b/m/g' | sed 's/,//g')\n"
|
||||
0
scripts/networkinterfaces.sh
Executable file → Normal file
0
scripts/networkinterfaces.sh
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue