diff options
Diffstat (limited to 'community/qbootctl/qbootctl-openrc.initd')
-rw-r--r-- | community/qbootctl/qbootctl-openrc.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/community/qbootctl/qbootctl-openrc.initd b/community/qbootctl/qbootctl-openrc.initd new file mode 100644 index 00000000000..116d87bbbaa --- /dev/null +++ b/community/qbootctl/qbootctl-openrc.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run + +name="bootctl" +description="Mark current boot as successful in Android A/B interface" + +# This marks the current boot as successful, without this after ~7 +# reboots A/B devices automatically switch to the inactive slot +# causing a lot of confusion and usually a soft-bricked device +command="qbootctl" +command_args="-m" + +start() { + default_start +} |