move spacer.sh to Makefile
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
#!/bin/sh
|
||||
# creates an 8GB empty file in the root dir
|
||||
# that way when the alarm bells go off you can delete it to save a couple
|
||||
# minutes before the system really runs out of disk
|
||||
BS=512; COUNT=16777216 # 512 * 16777216 = 8GB
|
||||
! [ -e /spacer.img ] || return 1 || exit 1
|
||||
dd bs=$BS count=$COUNT </dev/zero >spacer.img
|
||||
$SUDO mv ./spacer.img /spacer.img
|
||||
Reference in New Issue
Block a user