about summary refs log tree commit diff
path: root/core-services/04-swap.sh
blob: c805f874acfde479d1ba06c244cdca3e2448cc38 (plain) (blame)
1
2
3
4
5
6
# vim: set ts=4 sw=4 et:

[ -n "$VIRTUALIZATION" ] && return 0

msg "Initializing swap..."
swapon -a || emergency_shell