init commit

This commit is contained in:
Luxferre
2026-10-19 09:23:54 +03:00
commit 6942acf5cf
307 changed files with 35003 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/sbin/openrc-run
depend() {
after localmount
before display-manager tinydm
}
start() {
ebegin "Activating swap file"
swapfile
eend $?
}
stop() {
if [ "$RC_RUNLEVEL" = "shutdown" ]; then
return 0
fi
ebegin "Deactivating swap file"
swapoff /swapfile >/dev/null 2>&1 || true
eend 0
}
restart() {
ebegin "Restarting swap file"
start
eend $?
}