Compare commits
No commits in common. "main" and "autoswap" have entirely different histories.
|
@ -1,9 +1,5 @@
|
|||
# Own Your Cloud Key Gen2 / Gen2+
|
||||
|
||||
**THIS SCRIPT DOES NOT WORK ON CURRENT CLOUDKEYS**
|
||||
|
||||
A new repo has been set up at https://git.zaks.web.za/thisiszeev/own-your-cloudkey
|
||||
|
||||
## DISCLAIMER
|
||||
|
||||
Running this script on your Cloud Key will VOID your warranty. I have tested several times and I have no failures, but there is a first time for everything. Do not run this script unless you are willing to brick your device.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
## addswap.sh
|
||||
## version 1.01.01
|
||||
## version 1.01
|
||||
## Quickly add and activate a SWAP file.
|
||||
|
||||
## Author: Ze'ev Schurmann
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## Use as and integer value in MB (1GB = 1024MB). When free RAM + SWAP
|
||||
## reaches this value a new SWAP file will be automatically created.
|
||||
threshold_minimum=1024
|
||||
threshold_minimum=512
|
||||
|
||||
## Use as and integer value in MB (1GB = 1024MB). When a SWAP file is
|
||||
## created it will be this size. The value is divided by 1024 to get
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Auto SWAP Service v1.01.01 (Bash Version)
|
||||
Description=Auto SWAP Service v1.01 (Bash Version)
|
||||
|
||||
[Service]
|
||||
ExecStart=/autoswap.sh
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
## autoswap.sh
|
||||
## version 1.01.01
|
||||
## version 1.01
|
||||
## Automatically add and remove SWAP files based on system load.
|
||||
|
||||
## Author: Ze'ev Schurmann
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
## remswap.sh
|
||||
## version 1.01.01
|
||||
## version 1.0
|
||||
## Quickly deactivate and remove a SWAP file.
|
||||
|
||||
## Author: Ze'ev Schurmann
|
||||
|
|
Loading…
Reference in New Issue