Explorar el Código

Actualizar 'addswap.sh'

master
Ignacio Falco hace 4 años
padre
commit
74fc70dcab
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  1. 4
    4
      addswap.sh

+ 4
- 4
addswap.sh Ver fichero

@@ -1,7 +1,7 @@
1 1
 #! /bin/bash
2 2
 
3
-fallocate -l 3G /swapfile && \
4
-chmod 600 /swapfile && \
5
-mkswap /swapfile && \
6
-swapon /swapfile && \
3
+fallocate -l 3G /swapfile
4
+chmod 600 /swapfile
5
+mkswap /swapfile
6
+swapon /swapfile
7 7
 swapon --show

Loading…
Cancelar
Guardar