From e5a53a617264ca3546c9a7f14b6cb037b7c22406 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 3 Jun 2023 08:10:44 +0300 Subject: [.b] Added swapfile openrc service --- .b/etc/init.d/swapfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .b/etc/init.d/swapfile (limited to '.b') 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 +} -- cgit v1.2.3