From 81b7d54ae65ed8a0a7223182a1b6f6326130e4c6 Mon Sep 17 00:00:00 2001 From: Syahrial Agni Prasetya Date: Mon, 10 May 2021 13:38:08 +0700 Subject: [PATCH] Remove warnings from noexec mount. --- archbox-desktop.bash | 2 +- enter.bash | 6 +++--- exec.bash | 6 +++--- uth.bash | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archbox-desktop.bash b/archbox-desktop.bash index 8eae06e..bff055a 100644 --- a/archbox-desktop.bash +++ b/archbox-desktop.bash @@ -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 diff --git a/enter.bash b/enter.bash index 76d04c5..d0b389e 100644 --- a/enter.bash +++ b/enter.bash @@ -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 \ No newline at end of file +chroot $CHROOT /sbin/env $ENV /bin/su $ARCHBOX_USER diff --git a/exec.bash b/exec.bash index d182fbd..092bab0 100644 --- a/exec.bash +++ b/exec.bash @@ -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 \ No newline at end of file +chroot $CHROOT /bin/su -c "env $ENV $COMMAND" $ARCHBOX_USER diff --git a/uth.bash b/uth.bash index cb06189..ba7128f 100644 --- a/uth.bash +++ b/uth.bash @@ -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)