On Sat Aug 24, 2019 at 10:53 PM wrote:
> From: Ahmed Bilal Khalid <ahmedbilal96@gmail.com>> > @@ -0,0 +1,24 @@> +#!/sbin/openrc-run> +# Copyright 1999-2008 Gentoo Foundation> +# Distributed under the terms of the GNU General Public License v2
would be nice to have name= and description= be added.
> +> +depend() {> + need localmount> + before net> + use logger> +}> +> +start() {> + ebegin "Starting rdnssd"> + start-stop-daemon --start --quiet --exec /usr/sbin/rdnssd -- -u root -r /etc/resolv.conf> + eend $?> +}> +> +stop() {> + ebegin "Stopping rdnssd"> + start-stop-daemon --stop --quiet --pidfile /var/run/rdnssd.pid> + if [ -x /sbin/resolvconf ]; then > + /sbin/resolvconf -f -d rdnssd || true> + fi
indentation seems unleved here
> + eend $?> +} > -- > 2.22.0
Needs to bump pkgrel for your changes to take effect
On Sat, 2019-08-24 at 22:53, ahmedbilal96@gmail.com wrote:
> From: Ahmed Bilal Khalid <ahmedbilal96@gmail.com>
[...]
> subpackages="$pkgname-doc"
$pkgname-openrc should be added to subpackages
> source="https://www.remlab.net/files/ndisc6/ndisc6-$pkgver.tar.bz2> remove-undef-gnu-source.patch> + > + rdnssd.rc
File name should end with initd, i.e. rdnssd.initd
> "
[...]