summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/zram/zram/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/zram/zram/init b/meta-oe/recipes-extended/zram/zram/init
index d12616936c..7b6cbf414c 100644
--- a/meta-oe/recipes-extended/zram/zram/init
+++ b/meta-oe/recipes-extended/zram/zram/init
@@ -1,4 +1,4 @@
1#!/bin/bash 1#!/bin/sh
2### BEGIN INIT INFO 2### BEGIN INIT INFO
3# Provides: zram 3# Provides: zram
4# Required-Start: 4# Required-Start:
@@ -26,7 +26,7 @@ start() {
26 #default Factor % = 90 change this value here or create /etc/default/zram 26 #default Factor % = 90 change this value here or create /etc/default/zram
27 FACTOR=90 27 FACTOR=90
28 #& put the above single line in /etc/default/zram with the value you want 28 #& put the above single line in /etc/default/zram with the value you want
29 [ -f /etc/default/zram ] && source /etc/default/zram || true 29 [ -f /etc/default/zram ] && . /etc/default/zram || true
30 factor=$FACTOR # percentage 30 factor=$FACTOR # percentage
31 31
32 # get the amount of memory in the machine 32 # get the amount of memory in the machine