Just asking for help with getting HAProxy run on my AC5300. Linux command isn't my strong suite. My haproxy.cfg is already configured i'm getting permission deny to run it. Picture should be more sufficient. Let me know if I need to provide any more information.
AsusRouter:/tmp/home/root# /opt/etc/init.d/S22haproxy
-sh: /opt/etc/init.d/S22haproxy: Permission denied
#!/bin/sh
# Tweak for performance
MAX_RAM="64" # Ram in MB
MAX_CONNECTIONS="165530"
CONFIGFILE="/opt/etc/haproxy.cfg"
PIDFILE="/var/run/haproxy.pid"
DIR="/opt/tmp"
ENABLED=yes
PROCS=haproxy
ARGS="-f $CONFIGFILE -p $PIDFILE -m $MAX_RAM -n $MAX_CONNECTIONS -q -C $DIR -D"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func
AsusRouter:/tmp/home/root# /opt/etc/init.d/S22haproxy
-sh: /opt/etc/init.d/S22haproxy: Permission denied
#!/bin/sh
# Tweak for performance
MAX_RAM="64" # Ram in MB
MAX_CONNECTIONS="165530"
CONFIGFILE="/opt/etc/haproxy.cfg"
PIDFILE="/var/run/haproxy.pid"
DIR="/opt/tmp"
ENABLED=yes
PROCS=haproxy
ARGS="-f $CONFIGFILE -p $PIDFILE -m $MAX_RAM -n $MAX_CONNECTIONS -q -C $DIR -D"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
. /opt/etc/init.d/rc.func