Do not automatically enable the service
This commit is contained in:
parent
4195cd16cb
commit
32e9da8a00
3 changed files with 7 additions and 19 deletions
4
.SRCINFO
4
.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
|
||||
|
|
2
PKGBUILD
2
PKGBUILD
|
@ -3,7 +3,7 @@
|
|||
# Contributor: $pooky Hunter <spookyh+arch@gmail.org>
|
||||
|
||||
pkgname=rc-local
|
||||
pkgver=2
|
||||
pkgver=3
|
||||
pkgrel=1
|
||||
pkgdesc='Support for legacy rc.local scripts'
|
||||
url="https://aur.archlinux.org/packages/${pkgname}/"
|
||||
|
|
|
@ -1,20 +1,8 @@
|
|||
_update() {
|
||||
systemctl daemon-reload
|
||||
}
|
||||
|
||||
post_install() {
|
||||
_update
|
||||
systemctl enable rc-local.service
|
||||
}
|
||||
cat <<EOF
|
||||
|
||||
post_upgrade() {
|
||||
_update
|
||||
}
|
||||
==> 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
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
_update
|
||||
EOF
|
||||
}
|
Loading…
Reference in a new issue