Some fixes
This commit is contained in:
parent
6371d1b127
commit
ce601530e3
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf
|
||||||
echo executing $@
|
COMMAND=$(echo $@ | tr ' ' '\ ')
|
||||||
chroot $CHROOT /bin/su -c $@ $USER
|
chroot $CHROOT /bin/su -c "$COMMAND" $USER
|
@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source /etc/archbox.conf
|
source /etc/archbox.conf
|
||||||
COMMAND=$(echo $@ | tr ' ' '\ ')
|
chroot $CHROOT /bin/su $USER
|
||||||
chroot $CHROOT /bin/su -c "$COMMAND" $USER
|
|
@ -4,4 +4,4 @@ cp -v ./archbox.bash /usr/local/bin/archbox
|
|||||||
cp -v ./archbox.conf /etc/archbox.conf
|
cp -v ./archbox.conf /etc/archbox.conf
|
||||||
cp -v ./archboxenter.bash /usr/local/share/archbox/bin/archboxenter
|
cp -v ./archboxenter.bash /usr/local/share/archbox/bin/archboxenter
|
||||||
cp -v ./copyresolv.bash /usr/local/share/archbox/bin/copyresolv
|
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