瀏覽代碼

package/cups-filters: fix daemon path for cups service

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

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit cfc63898f4dbdf7d9eb7c01252ea8ba4c5242229)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Angelo Compagnucci 4 年之前
父節點
當前提交
90da0697ee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package/cups-filters/S82cups-browsed

+ 1 - 1
package/cups-filters/S82cups-browsed

@@ -6,7 +6,7 @@ PIDFILE="/var/run/$DAEMON.pid"
 start() {
 start() {
 	printf 'Starting %s: ' "$DAEMON"
 	printf 'Starting %s: ' "$DAEMON"
 	# shellcheck disable=SC2086 # we need the word splitting
 	# 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
 		-- -c /etc/cups/cups-browsed.conf
 	status=$?
 	status=$?
 	if [ "$status" -eq 0 ]; then
 	if [ "$status" -eq 0 ]; then