nolim1t
5 years ago
No known key found for this signature in database
GPG Key ID: F6287B82CC84BCBD
1 changed files with
6 additions and
6 deletions
-
stage2/01-sys-tweaks/files/rc.local
|
|
@ -27,12 +27,12 @@ fi |
|
|
|
|
|
|
|
# Check for disk partition status |
|
|
|
if [ ! -f /home/umbrel/statuses/disk-partitioned ]; then |
|
|
|
if [ ! -f /home/umbrel/contrib/partitioner/partitioner.py ]; then |
|
|
|
echo "Run partition tool" |
|
|
|
echo "This is a placeholder - so please put in /home/umbrel/statuses/disk-partitioned and run /etc/rc.local again" |
|
|
|
# Uncomment when ready |
|
|
|
#touch /home/umbrel/statuses/disk-partitioned |
|
|
|
#chown -R umbrel.umbrel /home/umbrel/statuses/disk-partitioned |
|
|
|
if [ -f /home/umbrel/contrib/partitioner/partitioner.py ]; then |
|
|
|
echo "Run partition tool or quit out if unavailable" |
|
|
|
/home/umbrel/contrib/partitioner/partitioner.py || exit 1 |
|
|
|
|
|
|
|
touch /home/umbrel/statuses/disk-partitioned |
|
|
|
chown -R umbrel.umbrel /home/umbrel/statuses/disk-partitioned |
|
|
|
else |
|
|
|
echo "Could not find partition tool - some steps might be skipped" |
|
|
|
fi |
|
|
|