Browse Source

usbmuxd: enable systemd support

This is needed as the options loop is totally broken and doesn't accept
both -f and -z together.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
7ae3bac516
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      utils/usbmuxd/Makefile
  2. +1
    -1
      utils/usbmuxd/files/usbmuxd.init

+ 2
- 2
utils/usbmuxd/Makefile View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=usbmuxd
PKG_SOURCE_DATE:=2020-01-20
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
@ -49,7 +49,7 @@ define Package/usbmuxd/conffiles
/etc/lockdown/SystemConfiguration.plist
endef
CONFIGURE_ARGS += --without-systemd
CONFIGURE_ARGS += --with-systemd
define Package/usbmuxd/install
$(INSTALL_DIR) $(1)/etc/init.d


+ 1
- 1
utils/usbmuxd/files/usbmuxd.init View File

@ -7,7 +7,7 @@ PROG=/usr/sbin/usbmuxd
start_service() {
procd_open_instance
procd_set_param command $PROG -f
procd_set_param command $PROG --systemd
procd_set_param stderr 1
procd_close_instance
}


Loading…
Cancel
Save