Do not automatically enable the service

This commit is contained in:
Manuel Hüsers 2016-08-25 22:34:59 +02:00
parent 4195cd16cb
commit 32e9da8a00
3 changed files with 7 additions and 19 deletions

View file

@ -1,8 +1,8 @@
# Generated by mksrcinfo v8 # Generated by mksrcinfo v8
# Fri Aug 12 14:05:02 UTC 2016 # Thu Aug 25 20:34:59 UTC 2016
pkgbase = rc-local pkgbase = rc-local
pkgdesc = Support for legacy rc.local scripts pkgdesc = Support for legacy rc.local scripts
pkgver = 2 pkgver = 3
pkgrel = 1 pkgrel = 1
url = https://aur.archlinux.org/packages/rc-local/ url = https://aur.archlinux.org/packages/rc-local/
install = rc-local.install install = rc-local.install

View file

@ -3,7 +3,7 @@
# Contributor: $pooky Hunter <spookyh+arch@gmail.org> # Contributor: $pooky Hunter <spookyh+arch@gmail.org>
pkgname=rc-local pkgname=rc-local
pkgver=2 pkgver=3
pkgrel=1 pkgrel=1
pkgdesc='Support for legacy rc.local scripts' pkgdesc='Support for legacy rc.local scripts'
url="https://aur.archlinux.org/packages/${pkgname}/" url="https://aur.archlinux.org/packages/${pkgname}/"

View file

@ -1,20 +1,8 @@
_update() {
systemctl daemon-reload
}
post_install() { post_install() {
_update cat <<EOF
systemctl enable rc-local.service
}
post_upgrade() { ==> Please activate the rc-local service to execute /etc/rc.local on boot.
_update ==> Run as root: systemctl enable rc-local.service
}
pre_remove() { EOF
systemctl disable rc-local.service
}
post_remove() {
_update
} }