# Sensors
tools.helpers.run.root(
- args, ["waydroid-sensord", args.HWBINDER_DRIVER], output="background")
+ args, ["waydroid-sensord", "/dev/" + args.HWBINDER_DRIVER], output="background")
# Mount rootfs
helpers.images.mount_rootfs(args, cfg["waydroid"]["images_path"])
command = ["pidof", "waydroid-sensord"]
pid = tools.helpers.run.root(args, command, check=False, output_return=True)
if pid:
- command = ["killall", pid]
+ command = ["kill", "-9", pid]
tools.helpers.run.root(args, command, check=False)
else: