Advertisement
Guest User

Untitled

a guest
Jan 1st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/usr/bin/env sh
  2.  
  3. if [[ ! (-r /proc/sys/kernel/unprivileged_userns_clone && $(< /proc/sys/kernel/unprivileged_userns_clone) == 1 && -n $(zcat /proc/config.gz | grep CONFIG_USER_NS=y) ) ]]; then
  4. >&2 echo "User namespaces are not detected as enabled on your system, brave will run with the sandbox disabled"
  5. FLAG="--no-sandbox"
  6. fi
  7.  
  8. exec "/usr/lib/brave-beta-bin/brave" "$@" "$FLAG"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement