Bubble android client. Fork of https://git.zx2c4.com/wireguard-android/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

15 linhas
440 B

  1. #!/bin/sh
  2. mount -o rw,remount /system
  3. cp -v ./addonsd.sh /system/addon.d/40-wireguard.sh
  4. if [ -f ./wg ]; then
  5. cp -v ./wg /system/xbin/wg
  6. else
  7. echo "Warning: this directory does not contain wg. You may have forgotten to compile it yourself?" >&2
  8. fi
  9. cp -v ./wg-quick.bash /system/xbin/wg-quick
  10. chmod 755 /system/xbin/wg /system/xbin/wg-quick /system/addon.d/40-wireguard.sh
  11. mkdir -pvm 700 /data/misc/wireguard
  12. mount -o ro,remount /system