Add debug
This commit is contained in:
parent
e9aba4cc6d
commit
25415b6308
|
@ -130,10 +130,10 @@ getSize() {
|
||||||
}
|
}
|
||||||
|
|
||||||
createSwapfile() {
|
createSwapfile() {
|
||||||
dd if=/dev/zero of=$swapfile bs=1M count=${size} status=progress
|
dd if=/dev/zero of=$swapfile bs=1M count=${size} status=progress 2>&1 | debug
|
||||||
chmod 600 $swapfile
|
chmod 600 $swapfile 2>&1 | debug
|
||||||
mkswap $swapfile
|
mkswap $swapfile 2>&1 | debug
|
||||||
swapon $swapfile
|
swapon $swapfile 2>&1 | debug
|
||||||
}
|
}
|
||||||
|
|
||||||
autoPart() {
|
autoPart() {
|
||||||
|
|
Loading…
Reference in New Issue