2 Commits

Autor SHA1 Mensaje Fecha
  Ignacio Falco 827abde2b5 Merge branch 'master' of http://git.bluekitsune.com/bluekitsune-public/customfiles hace 4 años
  Ignacio Falco c5c0d469a9 script to add and enable swapfile hace 4 años
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7
    0
      addswap.sh

+ 7
- 0
addswap.sh Ver fichero

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

Loading…
Cancelar
Guardar