archbox/archboxenter.bash
2020-10-27 13:12:14 +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