iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minor alerts improvements
[distro-setup]
/
check-stale-alerts
diff --git
a/check-stale-alerts
b/check-stale-alerts
index 0bf76ef5e0a62005730b811586666a46a9d4a9aa..a6d8c822ee0f9f3db3859f7c3e4e40607b701cc1 100755
(executable)
--- a/
check-stale-alerts
+++ b/
check-stale-alerts
@@
-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