aboutsummaryrefslogtreecommitdiffstats
path: root/main/flashrom/flashrom.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-14 07:06:33 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-14 07:06:33 +0000
commitcf242d16f4e8d358c261bd52e301c8284dfa1231 (patch)
tree8f6a126dde7490be51087e942ecbaad4f6d021b9 /main/flashrom/flashrom.post-install
parente48e174b78c131afad3f9dfe6b47bf0f7fa80f52 (diff)
downloadaports-cf242d16f4e8d358c261bd52e301c8284dfa1231.tar.bz2
aports-cf242d16f4e8d358c261bd52e301c8284dfa1231.tar.xz
main/flashrom: moved from testing
fixes #405
Diffstat (limited to 'main/flashrom/flashrom.post-install')
-rwxr-xr-xmain/flashrom/flashrom.post-install15
1 files changed, 15 insertions, 0 deletions
diff --git a/main/flashrom/flashrom.post-install b/main/flashrom/flashrom.post-install
new file mode 100755
index 0000000000..b7919f5fd1
--- /dev/null
+++ b/main/flashrom/flashrom.post-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+if [ -e /proc/sys/kernel/grsecurity/ ]; then
+cat - <<EOF
+
+ ************[ flashrom package installation notice ]****************
+
+ You appear to be running a grsec enabled kernel.
+ flashrom needs write access to /dev/mem and will likely not work
+
+ *********************************************************************
+
+EOF
+fi
+exit 0
+