8 lines
450 B
Bash
Executable file
8 lines
450 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
#this script prints the terminal output which will be piped to aha to generate the webpage. terminal styling will be preserved
|
|
|
|
script -qc 'hyfetch -p transgender --distro wii-linux-ngx' | sed 's|'"${USER}"'|\r'"${USER}"'|' | grep -v 'Local IP'
|
|
printf '\n%s\n' 'The above output is actually generated by hyfetch on my Wii! It updates every 15 minutes.'
|
|
printf '%s\n\n' "last updated: $(date)"
|
|
cat ${HOME}/wii-server-setup/readme.txt
|