minor alerts improvements
[distro-setup] / check-stale-alerts
index 0bf76ef5e0a62005730b811586666a46a9d4a9aa..a6d8c822ee0f9f3db3859f7c3e4e40607b701cc1 100755 (executable)
@@ -1,4 +1,12 @@
 #!/bin/bash
+
+time_arg="-ctime +4"
+case $1 in
+  now)
+    time_arg=
+    ;;
+esac
+
 if [[ ! -e /dev/shm/iank-status ]]; then
   exit 0
 fi