summaryrefslogtreecommitdiff
path: root/.b/etc/init.d/swapfile
blob: 970aa7e4fe4f4c795fd9193758d2bb39538d96ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

name="swapfile"
description="Enable the swap file on /home/swapfile on boot"
command=/sbin/swapon
command_args="/home/swapfile"
pidfile=

depend() {
	need root
	need localmount
}