2 Commits

Autor SHA1 Nachricht Datum
  Ignacio Falco 827abde2b5 Merge branch 'master' of http://git.bluekitsune.com/bluekitsune-public/customfiles vor 4 Jahren
  Ignacio Falco c5c0d469a9 script to add and enable swapfile vor 4 Jahren
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7
    0
      addswap.sh

+ 7
- 0
addswap.sh Datei anzeigen

@@ -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

Laden…
Abbrechen
Speichern