diff --git a/bmotd.sh b/bmotd.sh index 33598f4..1840237 100755 --- a/bmotd.sh +++ b/bmotd.sh @@ -62,6 +62,11 @@ main () { update exit 0 ;; + test) + MOTD="/dev/stdout" + update + exit 0 + ;; *) printHelp esac @@ -105,7 +110,7 @@ update() { } function printHelp { - printf "./$0 update | disable | enable" + printf "./$0 test | update | disable | enable" exit 0; }