Skip to content

Commit

Permalink
Add chmod & systemctl enable
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Dec 15, 2019
1 parent d281b66 commit abd18e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ cat "/boot/cmdline.txt"
# Resize partition on first boot.
# https://www.raspberrypi.org/forums/viewtopic.php?p=1503766#p1503766
wget -O /etc/init.d/resize2fs_once https://raw.githubusercontent.com/RPi-Distro/pi-gen/master/stage2/01-sys-tweaks/files/resize2fs_once
chmod +x /etc/init.d/resize2fs_once
systemctl enable resize2fs_once

# Replace /etc/fstab since the non existing PARTUUID has to be changed here as well.
echo "Replace /etc/fstab"
Expand Down

0 comments on commit abd18e1

Please sign in to comment.