浏览代码

package/bluez5_utils: fix SysV init script

- Use daemon name (bluetoothd) as file name.
- Script doesn't need to be executable.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 456204e7e02cc787cee65711409025245ce337de)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Lang Daniel 2 年之前
父节点
当前提交
971bf1f768
共有 3 个文件被更改,包括 2 次插入3 次删除
  1. 0 1
      .checkpackageignore
  2. 0 0
      package/bluez5_utils/S40bluetoothd
  3. 2 2
      package/bluez5_utils/bluez5_utils.mk

+ 0 - 1
.checkpackageignore

@@ -8,7 +8,6 @@ package/avahi/S05avahi-setup.sh Indent Variables
 package/avahi/S50avahi-daemon Indent Variables
 package/babeld/S50babeld Indent Shellcheck Variables
 package/bind/S81named Indent Shellcheck Variables
-package/bluez5_utils/S40bluetooth NotExecutable Variables
 package/boinc/S99boinc-client Indent Shellcheck Variables
 package/brickd/S70brickd Indent Shellcheck Variables
 package/brltty/S10brltty Indent Shellcheck Variables

+ 0 - 0
package/bluez5_utils/S40bluetooth → package/bluez5_utils/S40bluetoothd


+ 2 - 2
package/bluez5_utils/bluez5_utils.mk

@@ -184,8 +184,8 @@ BLUEZ5_UTILS_CONF_OPTS += --disable-systemd
 endif
 
 define BLUEZ5_UTILS_INSTALL_INIT_SYSV
-	$(INSTALL) -m 0755 -D package/bluez5_utils/S40bluetooth \
-		$(TARGET_DIR)/etc/init.d/S40bluetooth
+	$(INSTALL) -m 0755 -D package/bluez5_utils/S40bluetoothd \
+		$(TARGET_DIR)/etc/init.d/S40bluetoothd
 endef
 
 $(eval $(autotools-package))