blob: 9589e8ef90e79da63989b359d875a69deaec2210 [file] [log] [blame]
Filip Pytloun21378822017-03-10 11:50:10 +01001parameters:
2 linux:
3 system:
4 motd:
5 - warning: |
6 #!/bin/sh
7 printf "WARNING: This is private network.\n"
8 printf " Unauthorized access is strictly prohibited.\n"
9 printf "\n"
10 - info: |
11 #!/bin/sh
12 printf -- "------------------------------------------------------\n"
13 printf " Hostname | $(hostname)\n"
14 printf " Domain | $(hostname -d)\n"
15 printf " System | %s\n" "$(lsb_release -s -d)"
16 printf " Kernel | %s\n" "$(uname -r)"
17 printf " Uptime | %s\n" "$(uptime -p)"
18 printf " Load Average | %s\n" "$(cat /proc/loadavg | awk '{print $1", "$2", "$3}')"
19 printf -- "------------------------------------------------------\n"