Remove warnings from noexec mount.

This commit is contained in:
Syahrial Agni Prasetya 2021-05-10 13:38:08 +07:00
parent ca2842a98a
commit 81b7d54ae6
4 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
source /etc/archbox.conf
source /etc/archbox.conf &>/dev/null
install_desktop(){
mkdir -p ~/.local/share/applications/archbox

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
source /etc/archbox.conf
source /tmp/archbox_env
source /etc/archbox.conf &>/dev/null
source /tmp/archbox_env &>/dev/null
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
@ -10,4 +10,4 @@ REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
ENV="$REQ_ENV $ENV_VAR"
COMMAND="$@"
chroot $CHROOT /sbin/env $ENV /bin/su $ARCHBOX_USER
chroot $CHROOT /sbin/env $ENV /bin/su $ARCHBOX_USER

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
source /etc/archbox.conf
source /tmp/archbox_env
source /etc/archbox.conf &>/dev/null
source /tmp/archbox_env &>/dev/null
REQ_ENV="DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS "
REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
@ -10,4 +10,4 @@ REQ_ENV+="XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR "
ENV="$REQ_ENV $ENV_VAR"
COMMAND="$@"
chroot $CHROOT /bin/su -c "env $ENV $COMMAND" $ARCHBOX_USER
chroot $CHROOT /bin/su -c "env $ENV $COMMAND" $ARCHBOX_USER

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
source /etc/archbox.conf
source /tmp/archbox_env
source /etc/archbox.conf &>/dev/null
source /tmp/archbox_env &>/dev/null
case $1 in
copyresolv)