-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathfirst_boot.sh
More file actions
23 lines (16 loc) · 737 Bytes
/
first_boot.sh
File metadata and controls
23 lines (16 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
#####################################################
# Created by cryptopool.builders for crypto use...
#####################################################
# Needs to be ran after the first reboot of the system after permissions are set
#####################################################
source /etc/functions.sh
sleep 5
hide_output yiimp checkup
# Prevents error when trying to log in to admin panel the first time...
sudo touch $STORAGE_ROOT/yiimp/site/log/debug.log
sudo chmod 777 $STORAGE_ROOT/yiimp/site/log/.
sudo chmod 777 $STORAGE_ROOT/yiimp/site/log/debug.log
# Delete me no longer needed after it runs the first time
sudo rm -r $STORAGE_ROOT/yiimp/first_boot.sh
cd $HOME/multipool/yiimp_single