##// END OF EJS Templates
Disable dphys-swapfile for the first boot
Yannick Schinko -
r577:f84ed4876ca0
parent child
Show More
@@ -177,6 +177,11 else
177 chroot_exec systemctl disable serial-getty\@"$SET_SERIAL".service
177 chroot_exec systemctl disable serial-getty\@"$SET_SERIAL".service
178 fi
178 fi
179
179
180 # Disable dphys-swapfile service. Will get enabled on first boot
181 if [ "$ENABLE_DPHYSSWAP" = true ] ; then
182 chroot_exec systemctl disable dphys-swapfile
183 fi
184
180 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
185 if [ "$ENABLE_SYSTEMDSWAP" = true ] ; then
181 # Create temporary directory for systemd-swap sources
186 # Create temporary directory for systemd-swap sources
182 temp_dir=$(as_nobody mktemp -d)
187 temp_dir=$(as_nobody mktemp -d)
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant