Some fixes
This commit is contained in:
parent
6371d1b127
commit
ce601530e3
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/archbox.conf
|
||||
echo executing $@
|
||||
chroot $CHROOT /bin/su -c $@ $USER
|
||||
COMMAND=$(echo $@ | tr ' ' '\ ')
|
||||
chroot $CHROOT /bin/su -c "$COMMAND" $USER
|
@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
source /etc/archbox.conf
|
||||
COMMAND=$(echo $@ | tr ' ' '\ ')
|
||||
chroot $CHROOT /bin/su -c "$COMMAND" $USER
|
||||
chroot $CHROOT /bin/su $USER
|
@ -4,4 +4,4 @@ cp -v ./archbox.bash /usr/local/bin/archbox
|
||||
cp -v ./archbox.conf /etc/archbox.conf
|
||||
cp -v ./archboxenter.bash /usr/local/share/archbox/bin/archboxenter
|
||||
cp -v ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv
|
||||
cp -v ./archboxenter.bash /usr/local/share/archbox/bin/archboxcommand
|
||||
cp -v ./archboxcommand.bash /usr/local/share/archbox/bin/archboxcommand
|
||||
|
Loading…
Reference in New Issue
Block a user