Browse Source

Update rc.local to check and use 'statuses' inside /Users/barryteoh'

master
nolim1t 5 years ago
parent
commit
ac8e080b5c
No known key found for this signature in database GPG Key ID: F6287B82CC84BCBD
  1. 6
      stage2/01-sys-tweaks/files/rc.local

6
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/status/disk-partitioned ]; then
if [ ! -f /home/umbrel/statuses/disk-partitioned ]; then
echo "Placeholder for disk partitioning tool"
# Do partitioning at first boot
fi
if [ ! -f /home/umbrel/status/service-configured ]; then
if [ ! -f /home/umbrel/statuses/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/status/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/status/service-configured
touch /home/umbrel/statuses/service-configured
fi
exit 0

Loading…
Cancel
Save