Compare commits

..

No commits in common. "main" and "autoswap" have entirely different histories.

6 changed files with 5 additions and 9 deletions

View File

@ -1,9 +1,5 @@
# Own Your Cloud Key Gen2 / Gen2+ # 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 ## 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. 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.

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
## addswap.sh ## addswap.sh
## version 1.01.01 ## version 1.01
## Quickly add and activate a SWAP file. ## Quickly add and activate a SWAP file.
## Author: Ze'ev Schurmann ## Author: Ze'ev Schurmann

View File

@ -1,6 +1,6 @@
## Use as and integer value in MB (1GB = 1024MB). When free RAM + SWAP ## Use as and integer value in MB (1GB = 1024MB). When free RAM + SWAP
## reaches this value a new SWAP file will be automatically created. ## 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 ## 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 ## created it will be this size. The value is divided by 1024 to get

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Auto SWAP Service v1.01.01 (Bash Version) Description=Auto SWAP Service v1.01 (Bash Version)
[Service] [Service]
ExecStart=/autoswap.sh ExecStart=/autoswap.sh

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
## autoswap.sh ## autoswap.sh
## version 1.01.01 ## version 1.01
## Automatically add and remove SWAP files based on system load. ## Automatically add and remove SWAP files based on system load.
## Author: Ze'ev Schurmann ## Author: Ze'ev Schurmann

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
## remswap.sh ## remswap.sh
## version 1.01.01 ## version 1.0
## Quickly deactivate and remove a SWAP file. ## Quickly deactivate and remove a SWAP file.
## Author: Ze'ev Schurmann ## Author: Ze'ev Schurmann