Last active
June 30, 2023 00:08
-
-
Save tresf/18bce65d04154c1e77883cca38b3ac8b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
keywords=('developer-low' 'door-open' 'fuser-over-temp' 'fuser-under-temp' 'input-tray-missing' 'interlock-open' 'interpreter-resource-unavailable' 'marker-supply-empty' 'marker-supply-low' 'marker-waste-almost-full' 'marker-waste-full' 'media-empty' 'media-jam' 'media-low' 'media-needed' 'moving-to-paused' 'opc-life-over' 'opc-near-eol' 'output-area-almost-full' 'output-area-full' 'output-tray-missing' 'paused' 'shutdown' 'spool-area-full' 'stopped-partly' 'stopping' 'timed-out' 'toner-empty' 'toner-low') | |
echo "INFO: This is an informational message, I guess?" >&2 | |
for i in {1..290} | |
do | |
echo "STATE: ${keywords[$i % 29]}" >&2 | |
sleep .1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment