e350b00b9b
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports. Remove the executable bit from those files. [ci:skip-build] [ci:skip-vercheck]
27 lines
265 B
Text
27 lines
265 B
Text
#!/sbin/openrc-run
|
|
|
|
depend()
|
|
{
|
|
after localmount
|
|
}
|
|
|
|
start()
|
|
{
|
|
ebegin "Activating swap file"
|
|
/sbin/swapfile
|
|
eend $?
|
|
}
|
|
|
|
stop()
|
|
{
|
|
ebegin "Deactivating swap file"
|
|
/sbin/swapoff -a >/dev/null
|
|
eend $?
|
|
}
|
|
|
|
restart()
|
|
{
|
|
ebegin "Restarting swap file"
|
|
start
|
|
eend $?
|
|
}
|