#!/bin/bash

case "$1" in
pre)
    /usr/sbin/bluetooth_devices_reconnect $1
    ;;
post)
    systemd-run --system --scope /usr/sbin/bluetooth_devices_reconnect $1 &
    ;;
esac

exit 0
