[main]
@type = oneshot
@version = @vers@
@description = "Mount swap partition"
@user = ( root )
@depends=( mount-rw )
@options = ( !log )

[start]
@execute =
(
    if { 66-yeller -cdp mount-swap -1 /dev/console starts... }

        if -nt {

            swapon -a

        }
        66-yeller -Wcdp mount-swap -1 /dev/console unable to activate the swap!

)

[stop]
@execute =
(
    if { 66-yeller -cdp mount-swap -1 /dev/console stops... }
    if -nt {

        swapoff -a

    }
    66-yeller -Wcdp mount-swap -1 /dev/console failed!
)
