Skip to content

Commit 2914965

Browse files
committed
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/network-check'
2 parents 3c1642f + 3153822 commit 2914965

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
## Copyright (C) 2025 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
4+
## See the file COPYING for copying conditions.
5+
6+
network_ip_data="$(
7+
ip -o addr show scope global \
8+
| awk '{print $4}'
9+
)" || true
10+
if [ -n "${network_ip_data}" ]; then
11+
exit 0
12+
fi
13+
exit 1

0 commit comments

Comments
 (0)