Pārlūkot izejas kodu

package/polkit: improve sysv script

As specified in the manual (18.5 The SNNfoo start script),
the name of the script should reflect the name of the daemon,
which in this case in polkitd.

Also remove the redundant/broken reload case.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Lang Daniel 2 gadi atpakaļ
vecāks
revīzija
c2f6422563
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      package/polkit/S50polkitd
  2. 2 2
      package/polkit/polkit.mk

+ 1 - 1
package/polkit/S50polkit → package/polkit/S50polkitd

@@ -40,7 +40,7 @@ restart() {
 }
 
 case "$1" in
-	start|stop|restart|reload)
+	start|stop|restart)
 		"$1";;
 	reload)
 		# Restart, since there is no true "reload" feature.

+ 2 - 2
package/polkit/polkit.mk

@@ -68,8 +68,8 @@ define POLKIT_INSTALL_INIT_SYSTEMD
 endef
 
 define POLKIT_INSTALL_INIT_SYSV
-	$(INSTALL) -D -m 0755 package/polkit/S50polkit \
-		$(TARGET_DIR)/etc/init.d/S50polkit
+	$(INSTALL) -D -m 0755 package/polkit/S50polkitd \
+		$(TARGET_DIR)/etc/init.d/S50polkitd
 endef
 
 $(eval $(meson-package))