This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by iptables-save v1.6.0 on Wed Mar 29 23:26:05 2017 | |
*nat | |
:PREROUTING ACCEPT [0:0] | |
:INPUT ACCEPT [0:0] | |
:OUTPUT ACCEPT [1367:85931] | |
:POSTROUTING ACCEPT [1367:85931] | |
:NAT_POSTROUTING_CHAIN - [0:0] | |
:NAT_PREROUTING_CHAIN - [0:0] | |
:POST_NAT_POSTROUTING_CHAIN - [0:0] | |
:POST_NAT_PREROUTING_CHAIN - [0:0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
export ANDROID_NDK_ROOT=$HOME/Android/Sdk/ndk-bundle | |
export ac_cv_func_malloc_0_nonnull=yes | |
export ac_cv_func_realloc_0_nonnull=yes | |
# arm or x86 or x86_64 | |
export ARCH=${1-arm} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Afuse daemon | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/afuse -f -o mount_template='sshfs -o ServerAliveInterval=10 -o reconnect %%r:/ %%m' -o unmount_template='fusermount -u -z %%m' %h/.mnt/ssh | |
[Install] | |
WantedBy=default.target |