diff options
author | João Miguel | 2016-10-01 15:31:17 +0100 |
---|---|---|
committer | João Miguel | 2016-10-01 15:31:17 +0100 |
commit | d4c5a7eafc7bf3dcc34389338c517b4a563e8697 (patch) | |
tree | e9a1c3c1823535b7f01b5da14d8c29169e833523 /PKGBUILD | |
parent | d6a162f4cfc1fbf7f0ba58f618d02edc7a554b99 (diff) | |
download | aur-auditd-openrc.tar.gz |
Shebang on init file should now allow a start at the designated runlevel
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Maintainer: João Miguel <jmcf125 at openmailbox dot org> pkgname=auditd-openrc -pkgver=20151011 +pkgver=20161001 pkgrel=1 pkgdesc="Auditd init script for OpenRC (from systemd-free.org - not apg's way)" url='http://people.redhat.com/sgrubb/audit/' @@ -25,7 +25,7 @@ _inst_confd(){ _inst_initd(){ install -Dm755 "${srcdir}/${1}-init.d-2.4.3" "${pkgdir}/etc/init.d/$1" - sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \ + sed -e 's|#!.*|#!/usr/bin/openrc-run|' \ # .* because Gentoo keeps changing the link -e 's|/var/run|/run|g' \ -i "${pkgdir}/etc/init.d/$1" # ^^--- should work without this, but actually does not (at boot) |