git://developer.intra2net.com
/
pingcheck
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Update pingcheck to work with cmake 3.28
[pingcheck]
/
scripts
/
system_status_alert.sh
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#!/bin/sh
2
3
4
up()
5
{
6
echo "LINK UP"
7
}
8
9
10
down()
11
{
12
echo "LINK DOWN"
13
}
14
15
16
case $1 in
17
up)
18
up
19
;;
20
down)
21
down
22
;;
23
*)
24
echo "Usage: system_status_alert {up|down}"
25
RETVAL=1
26
esac
27
28
29
exit $RETVAL