Changeset 32894


Ignore:
Timestamp:
Jul 29, 2017, 12:22:56 AM (3 weeks ago)
Author:
brainslayer
Message:

update init script for fw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/qtn/images/router_command.sh

    r27263 r32894  
    5555        echo "off" > /tmp/80211h
    5656        iwpriv wifi0 pc_override 0 &
     57fi
     58
     59if [ "$1" == "ipv6_on" ] ; then
     60        echo "0" > /proc/sys/net/ipv6/conf/$2/disable_ipv6
     61fi
     62
     63if [ "$1" == "ipv6_off" ] ; then
     64        echo "1" > /proc/sys/net/ipv6/conf/$2/disable_ipv6
    5765fi
    5866
     
    127135fi
    128136
     137if [ "$1" == "diagnostics" ]; then
     138        sed -i "s/QTN_RPC_CLIENT/${2}/g" /scripts/gather_info
     139        gather_info &
     140fi
     141
     142if [ "$1" == "sync_time" ]; then
     143        date -s ${2}
     144fi
     145
    129146exit 0
Note: See TracChangeset for help on using the changeset viewer.