diff options
| author | dcc <dcc@logografos.com> | 2023-05-27 21:45:28 -0700 |
|---|---|---|
| committer | dcc <dcc@logografos.com> | 2023-05-27 21:45:28 -0700 |
| commit | bd4e72743ca24c0c380c221a6bc7376da1911f7e (patch) | |
| tree | 192b6af99d8ef0d28ffa8a64504ceab77776bb26 /bashs/shell scrips/check | |
| download | dcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.tar.gz dcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.tar.bz2 dcc-suckless-config-bd4e72743ca24c0c380c221a6bc7376da1911f7e.zip | |
first
Diffstat (limited to 'bashs/shell scrips/check')
| -rwxr-xr-x | bashs/shell scrips/check | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bashs/shell scrips/check b/bashs/shell scrips/check new file mode 100755 index 0000000..49adb99 --- /dev/null +++ b/bashs/shell scrips/check @@ -0,0 +1,9 @@ +#!/bin/bash +y="$(ping -c 1 10.0.0.13)" +num=64 +if [ $Y -lt $NUM ]; then +notify-send 'SERVER IS WORRKING' +else +notify-send 'server is not working' +fi + |
