From 2bab800162de53d9175070d4cfeccfb56034fc69 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Thu, 26 May 2011 06:26:46 -0400 Subject: scripts/switchout.sh: remove old grsec patch, rename new, update README --- scripts/switchout.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/switchout.sh diff --git a/scripts/switchout.sh b/scripts/switchout.sh new file mode 100755 index 0000000..a3ded86 --- /dev/null +++ b/scripts/switchout.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +OLD="$(ls 4420_*)" +NEW="$(ls grsecurity-*)" +NNEW="4420_$NEW" + +sed -i -e "s:${OLD}:${NNEW}:" 0000_README + +mv $NEW $NNEW +rm $OLD -- cgit v1.2.3-65-gdbad