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>
This commit is contained in:
parent
fc79b1bce5
commit
7ae3bac516
2 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=usbmuxd
|
PKG_NAME:=usbmuxd
|
||||||
PKG_SOURCE_DATE:=2020-01-20
|
PKG_SOURCE_DATE:=2020-01-20
|
||||||
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
|
PKG_SOURCE_VERSION:=8a69f1a78a58476f77b66916091d2405d0cd815f
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
|
PKG_SOURCE_URL=https://github.com/libimobiledevice/usbmuxd
|
||||||
|
@ -49,7 +49,7 @@ define Package/usbmuxd/conffiles
|
||||||
/etc/lockdown/SystemConfiguration.plist
|
/etc/lockdown/SystemConfiguration.plist
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += --without-systemd
|
CONFIGURE_ARGS += --with-systemd
|
||||||
|
|
||||||
define Package/usbmuxd/install
|
define Package/usbmuxd/install
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
|
|
@ -7,7 +7,7 @@ PROG=/usr/sbin/usbmuxd
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
procd_set_param command $PROG -f
|
procd_set_param command $PROG --systemd
|
||||||
procd_set_param stderr 1
|
procd_set_param stderr 1
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue