-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.alpine.sh
57 lines (38 loc) · 881 Bytes
/
setup.alpine.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
!#/bin/sh
echo;
echo …updating Linux packages
echo;
sleep 1
apk update && apk upgrade -y
echo;
echo …downloading base dir
echo;
sleep 1
git clone https://github.com/9zxytlcs/p2p-ubu-setup.git
echo;
echo …setting up local bins
echo;
sleep 1
cp p2p-ubu-setup/usr-local-bin/docs /usr/local/bin/docs
cp p2p-ubu-setup/usr-local-bin/noip2 /usr/local/bin/noip2
cp p2p-ubu-setup/usr-local-bin/start-cf /usr/local/bin/start-cf
cp p2p-ubu-setup/usr-local-bin/stop-cf /usr/local/bin/stop-cf
echo;
echo …coping root config files
echo;
sleep 1
cp p2p-ubu-setup/tinyproxy.conf tinyproxy.conf
cp p2p-ubu-setup/noip2.conf noip2.conf
echo;
echo …setting up CashFactory
echo;
sleep 1
cp p2p-ubu-setup/CashFactory CashFactory -f -R
echo;
echo …installing and placing neofetch to .bashrc
echo;
sleep 1
apk add neofetch
echo >> .bashrc
neofetch >> .bashrc
echo >> .bashrc