Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Startup script for eap_proxy.py. Place eap_proxy.py in /config/scripts and
- # place this in /config/scripts/post-config.d
- #
- IF_WAN=eth0
- IF_ROUTER=eth1
- CONFIG_OPTIONS=(
- --restart-dhcp --ignore-when-wan-up --ignore-logoff --ping-gateway --set-mac)
- DAEMON_OPTIONS=(--daemon --pidfile /var/run/eap_proxy.pid --syslog)
- /usr/bin/python /config/scripts/eap_proxy.py \
- "$IF_WAN" "$IF_ROUTER" "${CONFIG_OPTIONS[@]}" "${DAEMON_OPTIONS[@]}" &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement