From b52ec8c38a4b6a8b0f65711580421216c6d6a37c Mon Sep 17 00:00:00 2001 From: nolim1t Date: Sun, 1 Mar 2020 14:47:15 +0700 Subject: [PATCH] Move the checks into status under /home/umbrel --- stage2/01-sys-tweaks/files/rc.local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stage2/01-sys-tweaks/files/rc.local b/stage2/01-sys-tweaks/files/rc.local index 5ebdc29..290fad1 100755 --- a/stage2/01-sys-tweaks/files/rc.local +++ b/stage2/01-sys-tweaks/files/rc.local @@ -17,12 +17,12 @@ if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi -if [ ! -f /home/umbrel/disk-partitioned ]; then +if [ ! -f /home/umbrel/status/disk-partitioned ]; then echo "Placeholder for disk partitioning tool" # Do partitioning at first boot fi -if [ ! -f /home/umbrel/service-configured ]; then +if [ ! -f /home/umbrel/status/service-configured ]; then echo "Enabling defaults for umbrelbox" update-rc.d umbrelbox defaults || exit 1 echo "Enabling startup for umbrel box" @@ -33,7 +33,7 @@ if [ ! -f /home/umbrel/service-configured ]; then # TODO: maybe configure wallet when startup is complete? (or put it inside docker-compose) # Making this as done so we don't go through updates again - touch /home/umbrel/service-configured + touch /home/umbrel/status/service-configured fi exit 0