2022-06-02 16:34:46 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Usage: bioctl status|enable|disable
|
|
|
|
|
|
|
|
if [ "$1" = "enable" ]; then
|
2022-10-17 19:20:36 +08:00
|
|
|
pkexec /usr/bin/bioctl-helper enable $2
|
2022-06-02 16:34:46 +08:00
|
|
|
elif [ "$1" = "disable" ]; then
|
2022-10-17 19:20:36 +08:00
|
|
|
pkexec /usr/bin/bioctl-helper disable $2
|
2022-06-02 16:34:46 +08:00
|
|
|
elif [ "$1" = "status" ]; then
|
2022-10-17 19:20:36 +08:00
|
|
|
/usr/bin/bioctl-helper status $2
|
2022-06-02 16:34:46 +08:00
|
|
|
else
|
|
|
|
echo "Usage: bioctl status|enable|disable"
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|