From: <abe...@us...> - 2016-09-28 16:29:58
|
Revision: 7866 http://sourceforge.net/p/astlinux/code/7866 Author: abelbeck Date: 2016-09-28 16:29:56 +0000 (Wed, 28 Sep 2016) Log Message: ----------- /stat/etc/rc.conf, enclose alphanumeric strings in double-quotes, no functional change just consistency Modified Paths: -------------- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf Modified: branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf =================================================================== --- branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2016-09-27 18:24:41 UTC (rev 7865) +++ branches/1.0/project/astlinux/target_skeleton/stat/etc/rc.conf 2016-09-28 16:29:56 UTC (rev 7866) @@ -25,8 +25,8 @@ ## Domain and Hostname -DOMAIN=astlinux -HOSTNAME=pbx +DOMAIN="astlinux" +HOSTNAME="pbx" ## Timezone ## Set the Timezone using the zoneinfo database. Defining TIMEZONE will: @@ -53,7 +53,7 @@ ## Persistent Logs ## If this variable is defined, logs are saved to the keydisk instead of RAM -#PERSISTLOG=yes +#PERSISTLOG="yes" ##################################################################### @@ -62,7 +62,7 @@ ## External Interface -EXTIF=eth0 +EXTIF="eth0" ## If EXTIP is set, a 'static' config is used instead of the default, ## which is DHCP client on $EXTIF. If you are using a T1/E1 @@ -78,26 +78,26 @@ #EXTDHCP="no" # "no" or "yes", defaults to "no" ## Internal Interface -#INTIF=eth1 +#INTIF="eth1" ## Internal IP address and netmask -INTIP=192.168.101.1 -INTNM=255.255.255.0 +INTIP="192.168.101.1" +INTNM="255.255.255.0" ## Additional "Internal" interfaces ## By default they will be brought up identically to INTIF. ## They will be able to access the AstLinux machine and go out via EXTIF. -#INT2IF=eth1 -#INT2IP=192.168.102.1 -#INT2NM=255.255.255.0 +#INT2IF="eth1" +#INT2IP="192.168.102.1" +#INT2NM="255.255.255.0" -#INT3IF=eth2 -#INT3IP=192.168.103.1 -#INT3NM=255.255.255.0 +#INT3IF="eth2" +#INT3IP="192.168.103.1" +#INT3NM="255.255.255.0" -#INT4IF=eth3 -#INT4IP=192.168.104.1 -#INT4NM=255.255.255.0 +#INT4IF="eth3" +#INT4IP="192.168.104.1" +#INT4NM="255.255.255.0" ## DMZ Support #DMZIF="eth2" @@ -108,14 +108,14 @@ ## This setting controls whether or not we will use the local dnsmasq instance ## for DNS resolution on THIS machine. ## By default this is enabled provided dnsmasq is started, disable by setting to "no". -#LOCALDNS=no +#LOCALDNS="no" ## ## By default the DNS lookup for DOMAIN is local-only, recommended with local interfaces and/or ## a unique local DOMAIN. If there are no local interfaces defined, it may be useful ## to define DOMAIN the same as an upstream DNS server, in that case ## disabling LOCALDNS_LOCAL_DOMAIN would be desirable. ## By default this is enabled providing local-only lookups for DOMAIN, disable by setting to "no". -#LOCALDNS_LOCAL_DOMAIN=no +#LOCALDNS_LOCAL_DOMAIN="no" ## You don't have to use DHCP with all of your internal interfaces. ## Here you can specify a list of interfaces that will not have a DHCP range @@ -126,7 +126,7 @@ ## Here you can define the range of IP addresses for your local networks. ## This value will apply to all of your INTIFs. We will automatically calculate ## the first three octets. Just tell me which range I should give out leases for. -## In this example, if INTIP=192.168.0.1, we will give out leases for +## In this example, if INTIP="192.168.0.1", we will give out leases for ## 192.168.0.100 - 192.168.0.220 #DHCPRANGE="100:220" @@ -334,13 +334,13 @@ ## FTP Server (vsftpd) ## To start vsftpd, set 'vsftpd'. -FTPD=vsftpd +FTPD="vsftpd" ## TFTPD Server ## Use the built-in dnsmasq tftpd server, set 'dnsmasq'. ## (Deprecated) standalone tftpd server, set 'tftpd'. Defaults to 'dnsmasq' if ## tftpd package is not installed. -TFTPD=dnsmasq +TFTPD="dnsmasq" ## CLI (Command Line Interface) Proxy Server (shellinaboxd) ## Provides a 'login' prompt via the URL, https://pbx/admin/cli/ @@ -395,7 +395,7 @@ ## Note: also see NTPSERVS in the "General Configuration" section. ## Enable NTP broadcasts to local 1st LAN Interface (INTIF). Use with something like ## Tardis (win32) or ntpd (listen mode). -#NTPBROADCAST=yes +#NTPBROADCAST="yes" ## DNSCrypt Proxy Server ## Note: dnsmasq must be restarted when DNSCRYPT_PROXY changes. @@ -709,12 +709,8 @@ ## Racoon support - VPN above must include "racoon" ## ESP Tunnel Mode ## -## Keys may be generated randomly as: +## Keys may be generated randomly using: openssl rand -base64 33 ## -## dd if=/dev/random count=$(($bits / 8)) bs=1 | (echo -n "0x" ; xxd -ps -c64) -## -or- -## openssl rand -base64 33 -## #IPSEC_LOGLEVEL="info" # "debug" or "debug2" or "info" or "notify" or "warning" or "error" ## ## Define 15 ~ (tilde) separated arguments for Pre-Shared-Key authentication @@ -971,27 +967,27 @@ ## Fancy External interface support ## You will still need to set EXTIF to your external interface (wp*). -## If EXTIF=hdlc0, I will start dahdi and run sethdlc. -## If EXTIF=pvc0. I will start dahdi and run sethdlc. You will also need to +## If EXTIF="hdlc0", I will start dahdi and run sethdlc. +## If EXTIF="pvc0". I will start dahdi and run sethdlc. You will also need to ## fill in HDLCLMI and HDLCDLCI ## See more options below. ## ## Use wancfg first! -#EXTIF=wp1chdlc +#EXTIF="wp1chdlc" ## ## Use cisco encapsulation and be done -#EXTIF=hdlc0 +#EXTIF="hdlc0" #EXTENC="cisco" ## ## Dahdi Data Support -## If you set EXTIF=hdlc0 above, you will probably need to set the +## If you set EXTIF="hdlc0" above, you will probably need to set the ## protocol here. See sethdlc for valid types, but you PROBABLY want ## "cisco". DO NOT USE THIS WITH SANGOMA HARDWARE!!! Use wancfg!!! #EXTENC="cisco" ## ## Frame relay with LMI and DLCI (will use hdlc0) -#EXTIF=pvc0 -#HDLCLMI=ansi +#EXTIF="pvc0" +#HDLCLMI="ansi" #HDLCDLCI=100 ## Sometimes it takes a while for the WAN interface to come up... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |