summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 22:47:29 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-02-02 22:47:29 -0600
commit4f29312a0df2b3d2ef5bc50790c5e44e6acffc46 (patch)
tree7012139270a61594e827a2cf6d4b1cc864bb3157
parent1087d3413f78a9e69e57829fa009f755f09d85a1 (diff)
downloadaports-4f29312a0df2b3d2ef5bc50790c5e44e6acffc46.tar.bz2
aports-4f29312a0df2b3d2ef5bc50790c5e44e6acffc46.tar.xz
testing/gradm: update init script (fix typo :P)
-rw-r--r--testing/gradm/APKBUILD4
-rw-r--r--testing/gradm/grsec-rbac.initd9
2 files changed, 4 insertions, 9 deletions
diff --git a/testing/gradm/APKBUILD b/testing/gradm/APKBUILD
index 8c62b1e86..6f55b50cc 100644
--- a/testing/gradm/APKBUILD
+++ b/testing/gradm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gradm
pkgver=2.2.0
-pkgrel=2
+pkgrel=3
pkgdesc="administrative utility for grsecurity kernels"
url="http://www.grsecurity.org/"
arch="all"
@@ -54,4 +54,4 @@ package() {
md5sums="081765637a407dd7e4cd07f95413d6b8 gradm-2.2.0-201011061849.tar.gz
06495eebb8f2346d96c64c133d1614fa policy
9b66076b8e74e3d6a637457e23b5c699 base.policyd
-ac7f34962c16955e20c9da26235cab36 grsec-rbac.initd"
+2fc5d055dd43a2d9e1bed378dcab8641 grsec-rbac.initd"
diff --git a/testing/gradm/grsec-rbac.initd b/testing/gradm/grsec-rbac.initd
index 2bc40b985..fe0eec55c 100644
--- a/testing/gradm/grsec-rbac.initd
+++ b/testing/gradm/grsec-rbac.initd
@@ -1,19 +1,14 @@
#!/sbin/runscript
-depend() {
- need net
- after firewall
-}
-
start() {
ebegin "Enabling grsecurity RBAC policy"
- grsec -E
+ gradm -E
eend $?
}
stop() {
ebegin "Disabling grsecurity RBAC policy"
- grsec -D
+ gradm -D
eend $?
}