Initial import
This commit is contained in:
commit
ecf3a885a8
3 changed files with 43 additions and 0 deletions
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
pkgbase = rc-local
|
||||||
|
pkgdesc = Support for legacy rc.local scripts
|
||||||
|
pkgver = 1
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://aur.archlinux.org/packages/rc-local/
|
||||||
|
arch = any
|
||||||
|
license = BSD
|
||||||
|
depends = bash
|
||||||
|
source = rc-local.service
|
||||||
|
md5sums = bb2cfecf3c6d99c6e6ee9eb58bcde75d
|
||||||
|
|
||||||
|
pkgname = rc-local
|
||||||
|
|
19
PKGBUILD
Normal file
19
PKGBUILD
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Maintainer: megadriver <megadriver at gmx dot com>
|
||||||
|
# Contributor: $pooky Hunter <spookyh+arch@gmail.org>
|
||||||
|
|
||||||
|
pkgname=rc-local
|
||||||
|
pkgver=1
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Support for legacy rc.local scripts"
|
||||||
|
url=("https://aur.archlinux.org/packages/rc-local/")
|
||||||
|
arch=('any')
|
||||||
|
license=('BSD')
|
||||||
|
depends=('bash')
|
||||||
|
source=(rc-local.service)
|
||||||
|
md5sums=('bb2cfecf3c6d99c6e6ee9eb58bcde75d')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
echo "#!/bin/bash" > rc.local
|
||||||
|
install -D -m 0755 rc.local $pkgdir/etc/rc.local
|
||||||
|
install -D -m 0644 rc-local.service $pkgdir/usr/lib/systemd/system/rc-local.service
|
||||||
|
}
|
11
rc-local.service
Normal file
11
rc-local.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=/etc/rc.local compatibility
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/etc/rc.local
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue