X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/waydroid.git/blobdiff_plain/1f0393876d891d0e32a995d0bf7259cc6505afdc..523fd4d21655361439ffe6f1f57417ceec6f1290:/tools/actions/container_manager.py diff --git a/tools/actions/container_manager.py b/tools/actions/container_manager.py index 994dcea..f4ad128 100644 --- a/tools/actions/container_manager.py +++ b/tools/actions/container_manager.py @@ -126,7 +126,7 @@ def start(args): # 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"]) @@ -198,7 +198,7 @@ def stop(args): 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: