Browse Source

Add some startup tasks to rc.local

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

5
stage2/01-sys-tweaks/files/rc.local

@ -17,6 +17,11 @@ if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
if [ ! -f /home/umbrel/disk-partitioned ]; then
echo "Placeholder for disk partitioning tool"
# Do partitioning at first boot
fi
if [ ! -f /home/umbrel/service-configured ]; then
echo "Enabling defaults for umbrelbox"
update-rc.d umbrelbox defaults || exit 1

Loading…
Cancel
Save