forked from briffy/PiscesQoLDashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
uninstall.sh
92 lines (88 loc) · 3.77 KB
/
uninstall.sh
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash
systemctl stop nginx
systemctl disable nginx
apt-get remove nginx
rm -rf /var/dashboard
rm -rf /etc/monitor-scripts
systemctl disable bt-check.timer
systemctl disable bt-service-check.timer
systemctl disable clear-blockchain.timer
systemctl disable cpu-check.timer
systemctl disable external-ip-check.timer
systemctl disable fastsync-check.timer
systemctl disable gps-check.timer
systemctl disable helium-status-check.timer
systemctl disable infoheight-check.timer
systemctl disable local-ip-check.timer
systemctl disable miner-check.timer
systemctl disable miner-service-check.timer
systemctl disable miner-version-check.timer
systemctl disable password-check.timer
systemctl disable peer-list-check.timer
systemctl disable pf-check.timer
systemctl disable pf-service-check.timer
systemctl disable pubkeys-check.timer
systemctl disable reboot-check.timer
systemctl disable sn-check.timer
systemctl disable temp-check.timer
systemctl disable update-check.timer
systemctl disable update-dashboard-check.timer
systemctl disable update-miner-check.timer
systemctl disable wifi-check.timer
systemctl disable wifi-config-check.timer
systemctl disable wifi-service-check.timer
rm -rf /etc/systemd/system/bt-check.timer
rm -rf /etc/systemd/system/bt-service-check.service
rm -rf /etc/systemd/system/bt-service-check.timer
rm -rf /etc/systemd/system/clear-blockchain.timer
rm -rf /etc/systemd/system/clear-blockchain.service
rm -rf /etc/systemd/system/cpu-check.timer
rm -rf /etc/systemd/system/cpu-check.service
rm -rf /etc/systemd/system/external-ip-check.service
rm -rf /etc/systemd/system/external-ip-check.timer
rm -rf /etc/systemd/system/fastsync-check.service
rm -rf /etc/systemd/system/fastsync-check.timer
rm -rf /etc/systemd/system/gps-check.service
rm -rf /etc/systemd/system/gps-check.timer
rm -rf /etc/systemd/system/helium-status-check.service
rm -rf /etc/systemd/system/helium-status-check.timer
rm -rf /etc/systemd/system/infoheight-check.service
rm -rf /etc/systemd/system/infoheight-check.timer
rm -rf /etc/systemd/system/local-ip-check.service
rm -rf /etc/systemd/system/local-ip-check.timer
rm -rf /etc/systemd/system/miner-check.service
rm -rf /etc/systemd/system/miner-check.timer
rm -rf /etc/systemd/system/miner-service-check.service
rm -rf /etc/systemd/system/miner-service-check.timer
rm -rf /etc/systemd/system/miner-version-check.timer
rm -rf /etc/systemd/system/miner-version-check.service
rm -rf /etc/systemd/system/password-check.service
rm -rf /etc/systemd/system/password-check.timer
rm -rf /etc/systemd/system/peer-list-check.service
rm -rf /etc/systemd/system/peer-list-check.timer
rm -rf /etc/systemd/system/pf-check.service
rm -rf /etc/systemd/system/pf-check.timer
rm -rf /etc/systemd/system/pf-service-check.service
rm -rf /etc/systemd/system/pf-service-check.timer
rm -rf /etc/systemd/system/pubkeys-check.service
rm -rf /etc/systemd/system/pubkeys-check.timer
rm -rf /etc/systemd/system/reboot-check.service
rm -rf /etc/systemd/system/reboot-check.timer
rm -rf /etc/systemd/system/sn-check.service
rm -rf /etc/systemd/system/sn-check.timer
rm -rf /etc/systemd/system/temp-check.service
rm -rf /etc/systemd/system/temp-check.timer
rm -rf /etc/systemd/system/update-check.service
rm -rf /etc/systemd/system/update-check.timer
rm -rf /etc/systemd/system/update-dashboard-check.timer
rm -rf /etc/systemd/system/update-dashboard-check.service
rm -rf /etc/systemd/system/update-miner-check.timer
rm -rf /etc/systemd/system/update-miner-check.service
rm -rf /etc/systemd/system/wifi-check.service
rm -rf /etc/systemd/system/wifi-check.timer
rm -rf /etc/systemd/system/wifi-config-check.service
rm -rf /etc/systemd/system/wifi-config-check.timer
rm -rf /etc/systemd/system/wifi-service-check.service
rm -rf /etc/systemd/system/wifi-service-check.timer
systemctl start apache2.service
systemctl enable apache2.service