-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathinstall_apc.sh
More file actions
38 lines (27 loc) · 1.33 KB
/
Copy pathinstall_apc.sh
File metadata and controls
38 lines (27 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh
#
clear
echo "
_____ _ _ _ _
| |___ ___ ___| |_ ___ _| | | |_ _ _ |_|
| --| _| -_| .'| _| -_| . | | . | | | _
|_____|_| |___|__,|_| |___|___| |___|_ | |_|
|___|
_____ _ _ _ _ _____ __ _____
| | |_ ___|_|___| |_ ___ ___| |_ ___ ___ | |__| | | __|___ ___ _ _
| --| | _| |_ -| _| . | . | | -_| _| | | | | | | | | | _| .'| | |
|_____|_|_|_| |_|___|_| |___| _|_|_|___|_| |_|_|_|_____| |_____|_| |__,|_ |
|_| |___|
Version: 0.0.3
Last Updated: 1/22/2025
Install:
rm install_apc.sh && wget https://raw.githubusercontent.com/c2theg/srvBuilds/refs/heads/master/install_apc.sh && chmod u+x install_apc.sh
"
#-- update yourself! --
rm install_apc.sh && wget https://raw.githubusercontent.com/c2theg/srvBuilds/refs/heads/master/install_apc.sh && chmod u+x install_apc.sh
#--------------------------------------------------------------------------------------------
apt install apcupsd -y
# sudo nano /etc/apcupsd/apcupsd.conf
wget https://raw.githubusercontent.com/c2theg/srvBuilds/refs/heads/master/configs/apcupsd.conf && mv apcupsd.conf /etc/apcupsd/apcupsd.conf
sudo systemctl restart apcupsd
apcaccess status