navit: delete navit.launcher
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 25 Nov 2009 11:56:28 +0000 (12:56 +0100)
committerSebastian Spaeth <Sebastian@SSpaeth.de>
Wed, 25 Nov 2009 11:56:28 +0000 (12:56 +0100)
* as has been done already in OE.dev branch. Somhow this file got missed in the merge though.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
recipes/navit/files/navit.launcher [deleted file]

diff --git a/recipes/navit/files/navit.launcher b/recipes/navit/files/navit.launcher
deleted file mode 100644 (file)
index 74d5675..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#! /bin/sh
-#
-# Copyright Matthias Hentges <devel@hentges.net> (c) 2008
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
-#
-# Filename: navit.launcher
-# Date: 20080105 (YMD)
-#
-#################################################################################
-#
-# 20080105 - v0.0.1    - Initial release
-
-# On devices with low memory (< 512Mb?) Navit will segfault on start.
-# This can be worked around by doing
-# "echo 1 > /proc/sys/vm/overcommit_memory"
-
-if test "`cat /proc/meminfo | grep ^MemTotal | awk '{print $2}'`" -lt "500000"
-then
-       if test "$USER" = "root"
-       then
-               echo "Enabling low-mem workaround..."
-               OLD=`cat /proc/sys/vm/overcommit_memory`
-               echo 1 > /proc/sys/vm/overcommit_memory
-               navit.real $*
-               echo ${OLD} > /proc/sys/vm/overcommit_memory
-               exit
-       else
-               echo "I need root-privs to enable the low-mem workaround!"
-       fi
-fi
-
-navit.real $*