[Buildroot] [PATCH v6 5/6] package/polkit: add init service file
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Dec 8 15:08:08 UTC 2019
Hello,
+Carlos in Cc for the review of the init script.
On Fri, 6 Dec 2019 15:46:48 -0800
aduskett at gmail.com wrote:
> diff --git a/package/polkit/S50polkit b/package/polkit/S50polkit
> new file mode 100644
> index 0000000000..55c10e99ae
> --- /dev/null
> +++ b/package/polkit/S50polkit
> @@ -0,0 +1,15 @@
> +#!/bin/sh
> +#
> +# start polkitd
> +#
> +
> +case "$1" in
> + start)
> + start-stop-daemon -q -S -x /usr/lib/polkit-1/polkitd -- --no-debug &
Why is the & necessary at this end ?
I think this init script deserves a comment that explains why it
doesn't follow the traditional pattern for init scripts.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list