palera1n / jbinit

iOS, iPadOS, tvOS, HomePod Software and bridgeOS booter ramsdisk
Other
68 stars 16 forks source link

Adding additional LaunchDaemons #7

Closed netanelc305 closed 7 months ago

netanelc305 commented 1 year ago

I am trying to load at a custom service at startup. I have made a plist and placed it under /cores/binpack/Library/LaunchDaemons and packed everything to binpack.dmg. I have jailbreaked the devices using overlay override and noticed that the services was not loaded.

After checking the source code i noticed that only dropbear.plist is loaded and it's path hardcoded.

I can create a PR and implement a dynamic loader which iterates over the files in LaunchDaemons and loads them, unless there a better way to achieve this?