Bug #762 » rc.d.patch
addswap 24 May 2007 21:25:25 -0000 | ||
---|---|---|
[Nn][Oo] | '')
|
||
;;
|
||
*)
|
||
if [ -w "${swapfile}" -a -c /dev/vn0c ]; then
|
||
if [ -w "${swapfile}" -a -c /dev/vn0 ]; then
|
||
echo "Adding ${swapfile} as additional swap"
|
||
vnconfig -e vn0c ${swapfile} swap
|
||
vnconfig -e vn0 ${swapfile} swap
|
||
fi
|
||
;;
|
||
esac
|