Skip to content
Snippets Groups Projects
Commit afc8c7ad authored by Roland's avatar Roland
Browse files

not stopping haveget in config mode

parent ec320217
Branches
No related tags found
No related merge requests found
......@@ -8,10 +8,9 @@ if [ $RAMSIZE -le 40000 ] ; then
MODE=`uci get gluon-setup-mode.@setup_mode[0].enabled`
if [ $MODE == "1" ] ; then
/etc/init.d/haveged start
fi
# disable and stop haveged if enabled
if [ -f /etc/rc.d/S13haveged ] ; then
elif [ -f /etc/rc.d/S13haveged ] ; then
/etc/init.d/haveged disable
/etc/init.d/haveged stop
fi
......@@ -32,4 +31,3 @@ if [ $RAMSIZE -le 40000 ] ; then
/sbin/sysctl -w vm.dirty_ratio=30
/sbin/sysctl -w vm.dirty_expire_centisecs=0
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment