diff options
Diffstat (limited to '.config/login.d/00_quota.sh')
-rw-r--r-- | .config/login.d/00_quota.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/login.d/00_quota.sh b/.config/login.d/00_quota.sh index afe7211..2befc01 100644 --- a/.config/login.d/00_quota.sh +++ b/.config/login.d/00_quota.sh @@ -1,4 +1,9 @@ #!/hint/sh -if { ! quota -s; } && [ -n "$DISPLAY" ]; then - xmessage -center "$(quota -s)" & +if [ "$(uname)" == SunOS ]; then + quota -v + cat -s /etc/motd +else + if { ! quota -s; } && [ -n "$DISPLAY" ]; then + xmessage -center "$(quota -s)" & + fi fi |