archbox/archboxcommand.bash
2020-10-27 14:22:51 +07:00

5 lines
113 B
Bash
Executable File

#!/bin/bash
source /etc/archbox.conf
COMMAND=$(echo $@ | tr ' ' '\ ')
chroot $CHROOT /bin/su -c "$COMMAND" $USER