mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-07 20:41:05 -07:00
9 lines
173 B
Bash
Executable file
9 lines
173 B
Bash
Executable file
#! /bin/sh -e
|
|
|
|
exec 2>&1
|
|
|
|
IP=$(/opt/00admin/sbin/fire-ip add)
|
|
|
|
grep -q ipv4 /proc/cmdline && IP=::ffff:$IP
|
|
|
|
exec /opt/octopus/bin/octopus ${IP%/*} < /opt/octopus/tokens.txt
|