From 32e9da8a006a5337c2a4a7984b16e9209e4f7bae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Thu, 25 Aug 2016 22:34:59 +0200 Subject: [PATCH] Do not automatically enable the service --- .SRCINFO | 4 ++-- PKGBUILD | 2 +- rc-local.install | 20 ++++---------------- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4ab27dc..9fd2b07 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Aug 12 14:05:02 UTC 2016 +# Thu Aug 25 20:34:59 UTC 2016 pkgbase = rc-local pkgdesc = Support for legacy rc.local scripts - pkgver = 2 + pkgver = 3 pkgrel = 1 url = https://aur.archlinux.org/packages/rc-local/ install = rc-local.install diff --git a/PKGBUILD b/PKGBUILD index a926956..84378b6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ # Contributor: $pooky Hunter pkgname=rc-local -pkgver=2 +pkgver=3 pkgrel=1 pkgdesc='Support for legacy rc.local scripts' url="https://aur.archlinux.org/packages/${pkgname}/" diff --git a/rc-local.install b/rc-local.install index 2ed5dec..19b1b46 100644 --- a/rc-local.install +++ b/rc-local.install @@ -1,20 +1,8 @@ -_update() { - systemctl daemon-reload -} - post_install() { - _update - systemctl enable rc-local.service -} + cat < Please activate the rc-local service to execute /etc/rc.local on boot. +==> Run as root: systemctl enable rc-local.service -pre_remove() { - systemctl disable rc-local.service +EOF } - -post_remove() { - _update -} \ No newline at end of file