1 2 3 4 5 6 7 8 9
#!/hint/sh if [ "$(uname)" == SunOS ]; then quota -v cat -s /etc/motd else if { ! quota -s; } && [ -n "$DISPLAY" ]; then xmessage -center "$(quota -s)" & fi fi