19 lines
190 B
Plaintext
19 lines
190 B
Plaintext
|
#!/sbin/openrc-run
|
||
|
|
||
|
depend() {
|
||
|
need localmount swap
|
||
|
after bootmisc modules
|
||
|
}
|
||
|
|
||
|
start() {
|
||
|
/etc/init.d/zram start
|
||
|
}
|
||
|
|
||
|
stop() {
|
||
|
/etc/init.d/zram stop
|
||
|
}
|
||
|
|
||
|
status() {
|
||
|
/etc/init.d/zram status
|
||
|
}
|