autoinstall/autostart-manage/exec_command.sh

6 lines
135 B
Bash

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