config.sh (2216B)
1 #!/bin/sh 2 3 # 4 # 0 = do not log to syslog 5 # 1 = use syslog 6 # 7 LOGGING=1 8 9 # 10 # 0 = do not print debug messages on stdout 11 # 1 = do print debug messages on stdout 12 # 13 DEBUG=0 14 15 # 16 # Which connection should be used, when this is not a wakup and no other 17 # connection has been started before. If this is unset, all invocations of 18 # conn -s will need to specify a connection. 19 # 20 DEFAULTCONNECTION="wifi" 21 22 # 23 # Which profile in this connection should be used. If this is unset, the 24 # default profile of the connection will be used. (See the corresponding 25 # connection for this setting.) 26 # 27 DEFAULTPROFILE="wlan0" 28 29 # 30 # This will set in which directory the pid files are stored. 31 # 32 RUNDIR="/var/run/conn" 33 34 # 35 # This should be the directory, where conn is storing its connections. 36 # 37 # CAUTION! This path is hardcoded in common.sh! 38 # 39 ETCDIR="/etc/conn" 40 41 # 42 # In this directory the states (which connections are running and conn- 43 # ection specific states) are stored. 44 # 45 STATEDIR="/var/lib/conn" 46 47 # 48 # Set this variable to the location of the wpa_supplicant.conf, which 49 # should be used in the "wifi" connection. 50 # 51 WPACONF="/etc/wpa_supplicant/wpa_supplicant.conf" 52 53 # 54 # This is the command, which will be run when invoking wpa_supplicant. 55 # The dynamic values are appended to this string. Just the WPACONF needs 56 # to be used at the right place. 57 # 58 WPACMD="wpa_supplicant -B -D wext -c ${WPACONF}" 59 60 # 61 # The command for starting the action script. In the wpa_supplicant 62 # world this is wpa_cli. 63 # 64 WPACLICMD="wpa_cli" 65 66 # 67 # This is the command for retrieving information about access points. 68 # 69 WPACLIREQ="wpa_cli" 70 71 # 72 # If DHCP is used somewhere, this command will be used. 73 # 74 DHCPCMD="dhcpcd -L" 75 76 # 77 # If a lease needs to be released, this one is run. 78 # 79 DHCPRELEASECMD="dhcpcd -k" 80 81 # 82 # For killing DHCP on a device, this one is run. 83 # 84 DHCPKILLCMD="dhcpcd -x" 85 86 # 87 # A connection like wwan has proven in empirical studies, that it is 88 # worth to run a constant ping for keeping it alive. 89 # 90 # The host we are pinging, by default is set to 8.8.8.8, which is om- 91 # niscient Google. 92 # 93 PINGHOST="8.8.8.8" 94 95 # 96 # If a connection type is blocked by rfkill, should it be unblocked? 97 # 98 DOUNBLOCK=1 99 100 # 101 # Should a connection be blocked, when it is killed? 102 # 103 DOBLOCK=1 104