[Buildroot] [git commit branch/2020.08.x] package/cups-filters: fix daemon path for cups service

Peter Korsgaard peter at korsgaard.com
Sat Nov 14 11:17:18 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=90da0697ee574b31adfefcd77407d1aeb309c884
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x

Fix a typo in service location, the right location is indeed /usr/sbin.

Signed-off-by: Angelo Compagnucci <angelo at amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit cfc63898f4dbdf7d9eb7c01252ea8ba4c5242229)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/cups-filters/S82cups-browsed | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/cups-filters/S82cups-browsed b/package/cups-filters/S82cups-browsed
index 08909c7f98..f17bbe7465 100644
--- a/package/cups-filters/S82cups-browsed
+++ b/package/cups-filters/S82cups-browsed
@@ -6,7 +6,7 @@ PIDFILE="/var/run/$DAEMON.pid"
 start() {
 	printf 'Starting %s: ' "$DAEMON"
 	# shellcheck disable=SC2086 # we need the word splitting
-	start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \
+	start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \
 		-- -c /etc/cups/cups-browsed.conf
 	status=$?
 	if [ "$status" -eq 0 ]; then


More information about the buildroot mailing list