3 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
5 #hmmm: should be able to add a new swap drive if desired.
7 #hmmm: why all the hard-coded paths below?
9 /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
10 check_result "creating swap file"
12 /bin/chmod 600 /var/swap.1
13 check_result "setting swap file permissions"
15 /sbin/mkswap /var/swap.1
16 check_result "formatting swap file as swap partition"
18 /sbin/swapon /var/swap.1
19 check_result "enabling new swap partition"