diff options
Diffstat (limited to '.b/etc/init.d/swapfile')
| -rwxr-xr-x | .b/etc/init.d/swapfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.b/etc/init.d/swapfile b/.b/etc/init.d/swapfile new file mode 100755 index 0000000..970aa7e --- /dev/null +++ b/.b/etc/init.d/swapfile @@ -0,0 +1,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 +} |
