This file contains hidden or 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/sh | |
TTL=60 | |
DYNDNS_CACHE=/tmp/dyndns_cache | |
ip=$(nvram get wan_ipaddr) | |
dyndns_ip=$(cat $DYNDNS_CACHE 2>/dev/null) | |
hostname=$(nvram get wan_hostname) | |
domain=$(nvram get wan_domain) |
This file contains hidden or 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 | |
MOUNTS=(/proc /sys /dev /dev/pts) | |
if [ -n "$1" ]; then | |
for f in "${MOUNTS[@]}"; do | |
mount --bind $f "$1$f" | |
done | |
fi |
This file contains hidden or 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
C:\Users\protomouse>ssh-agent -c | |
setenv SSH_AUTH_SOCK /tmp/ssh-KSLohh2068/agent.2068; | |
setenv SSH_AGENT_PID 1356; | |
echo Agent pid 1356; | |
C:\Users\protomouse>ssh-agent -c | findstr setenv | |
setenv SSH_AUTH_SOCK /tmp/ssh-vlpZah2964/agent.2964; | |
setenv SSH_AGENT_PID 1840; | |
C:\Users\protomouse>for /f "tokens=2,3 delims= " %a in ('ssh-agent -c ^| findstr |
NewerOlder