##// END OF EJS Templates
No need to check if the service exists...
Yannick Schinko -
r579:90a66357153e
parent child
Show More
@@ -1,7 +1,5
1 # Restart dphys-swapfile service if it exists
1 # Restart dphys-swapfile service if it exists
2 if systemctl list-units | grep -q dphys-swapfile ; then
3 logger -t "rc.firstboot" "Restarting dphys-swapfile"
2 logger -t "rc.firstboot" "Restarting dphys-swapfile"
4
3
5 systemctl enable dphys-swapfile
4 systemctl enable dphys-swapfile
6 systemctl restart dphys-swapfile
5 systemctl restart dphys-swapfile
7 fi
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant