mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-27 15:18:20 +00:00
commit
b9ebe756ca
@ -75,12 +75,12 @@ sha256sum du_setup.sh
|
|||||||
|
|
||||||
Compare the output hash to the one below. They must match exactly.
|
Compare the output hash to the one below. They must match exactly.
|
||||||
|
|
||||||
`c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b`
|
`d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260`
|
||||||
|
|
||||||
Or echo the hash to check, it should output: `du_setup.sh: OK`
|
Or echo the hash to check, it should output: `du_setup.sh: OK`
|
||||||
|
|
||||||
```
|
```
|
||||||
echo c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b du_setup.sh | sha256sum --check -
|
echo d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260 du_setup.sh | sha256sum --check -
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3\. Run the Script
|
### 3\. Run the Script
|
||||||
|
|||||||
19
du_setup.sh
19
du_setup.sh
@ -2075,15 +2075,16 @@ generate_summary() {
|
|||||||
print_success "Service tailscaled is active and connected."
|
print_success "Service tailscaled is active and connected."
|
||||||
echo "$TS_IPS" > /tmp/tailscale_ips.txt
|
echo "$TS_IPS" > /tmp/tailscale_ips.txt
|
||||||
else
|
else
|
||||||
if grep -q "Tailscale connection failed: tailscale up" "$LOG_FILE"; then
|
if grep -q "Tailscale connection failed: tailscale up" "$LOG_FILE"; then
|
||||||
print_error "Service tailscaled is NOT active"
|
print_error "Service tailscaled is NOT active"
|
||||||
FAILED_SERVICES+=("tailscaled")
|
FAILED_SERVICES+=("tailscaled")
|
||||||
TS_COMMAND=$(grep "Tailscale connection failed: tailscale up" "$LOG_FILE" | tail -1 | sed 's/.*Tailscale connection failed: //')
|
TS_COMMAND=$(grep "Tailscale connection failed: tailscale up" "$LOG_FILE" | tail -1 | sed 's/.*Tailscale connection failed: //')
|
||||||
TS_COMMAND=${TS_COMMAND:-""}
|
TS_COMMAND=${TS_COMMAND:-""}
|
||||||
else
|
else
|
||||||
print_info "Service tailscaled is installed but not configured."
|
print_info "Service tailscaled is installed but not configured."
|
||||||
TS_COMMAND=""
|
TS_COMMAND=""
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ "$AUDIT_RAN" == true ]]; then
|
if [[ "$AUDIT_RAN" == true ]]; then
|
||||||
print_success "Security audit performed."
|
print_success "Security audit performed."
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b du_setup.sh
|
d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260 du_setup.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user