projects
/
feisty_meow.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
crikey, what a pain in the ***
[feisty_meow.git]
/
scripts
/
system
/
add_swap_mount.sh
1
#!/bin/bash
2
3
#hmmm: should check at each step if it worked.
4
#hmmm: should be able to add a new swap drive if desired.
5
6
7
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
8
9
/sbin/mkswap /var/swap.1
10
11
/sbin/swapon /var/swap.1
12
13
free
14