X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=grub;fp=grub;h=0000000000000000000000000000000000000000;hb=b9eef33cb7294d6fb1ea859e4ff2f669ecac94e7;hp=b5fbe31cf5a9242f1d734f34cb135a0bdd07159d;hpb=169793af12c005fb81f16ef539c22f80efe13708;p=kernel-cn.git diff --git a/grub b/grub deleted file mode 100755 index b5fbe31..0000000 --- a/grub +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# Grub shell ExecShield wrapper -# -# Copyright (C) 2009 Dinko Korunic, CARNet, Grupa za izradu paketa -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. - -SHIELD=$(sysctl -e -n kernel.exec-shield) -_retval=0 - -if [ ! -z "$SHIELD" ]; then - sysctl -e -w kernel.exec-shield=0 >/dev/null 2>&1 || true -fi - -if [ -x "$0.real" ]; then - "$0.real" $@ || _retval=$? -fi - -if [ ! -z "$SHIELD" ]; then - sysctl -e -w "kernel.exec-shield=$SHIELD" >/dev/null 2>&1 || true -fi - -exit $_retval