Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /etc/network/if-post-down.d/ |
Upload File : |
#!/bin/sh IWCONFIG=/sbin/iwconfig if [ ! -x $IWCONFIG ]; then exit 0 fi apply_settings() { if [ -n "$IF_WIRELESS_MODE" ]; then $IWCONFIG "$IFACE" mode auto fi if [ -n "$IF_WIRELESS_AP" ]; then $IWCONFIG "$IFACE" ap off fi if [ -n "$IF_WIRELESS_RATE" ]; then $IWCONFIG "$IFACE" rate auto fi if [ -n "$IF_WIRELESS_RTS" ]; then $IWCONFIG "$IFACE" rts auto fi if [ -n "$IF_WIRELESS_FRAG" ]; then $IWCONFIG "$IFACE" frag auto fi if [ -n "$IF_WIRELESS_POWER" ]; then $IWCONFIG "$IFACE" power off fi if [ -n "$IF_WIRELESS_TXPOWER" ]; then $IWCONFIG "$IFACE" txpower auto fi if [ -n "$IF_WIRELESS_ENC" ]; then $IWCONFIG "$IFACE" enc off fi if [ -n "$IF_WIRELESS_KEY" ]; then $IWCONFIG "$IFACE" key off fi if [ -n "$IF_WIRELESS_DEFAULTKEY" ]; then $IWCONFIG "$IFACE" key off fi if [ -n "$IF_WIRELESS_NWID" ]; then $IWCONFIG "$IFACE" nwid off fi if [ -n "$IF_WIRELESS_ESSID" ]; then $IWCONFIG "$IFACE" essid any fi if [ -n "$IF_WIRELESS_COMMIT" ]; then $IWCONFIG "$IFACE" commit fi } apply_settings 2>/dev/null