autoinstall/autostart-manage/exec_command.sh
2024-01-08 23:37:31 +01:00

7 lines
144 B
Bash

#!/usr/bin/env bash
program=${args[program]:?}
cmd=$(_get_autostart_cmd "$program")
sleep "$(_get_autostart_delay "$program")"
bash -c "$cmd"