Changeset 622
- Timestamp:
- 02/22/06 00:36:48 (7 years ago)
- File:
-
- 1 edited
-
debian/config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
debian/config
r592 r622 18 18 fi 19 19 20 # default values for local.sh 21 MYSQL_HOST=localhost 22 MYSQL_DATABASE=alternc 23 MYSQL_USER=sysusr 24 MYSQL_PASS=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..10)' ` 25 DEFAULT_IP=`/sbin/ifconfig | sed -e '/inet add\?r/!d; s/^.*inet add\?r:[^0-9\.]*\([0-9\.]*\).*$/\1/; q'` 26 DEFAULT_MX=`cat /etc/mailname` 27 DATA_PART=`df /var/alternc 2>/dev/null | awk '/^\// { print $1 }'` 28 FQDN=`hostname -f` 29 # default DATA_PART to /dev/hda, even if we can't find any 30 # this will occur within vservers 31 if [ -z $DATA_PART ] 32 then 33 DATA_PART=/dev/hda 34 fi 20 35 if [ -r /etc/alternc/local.sh ]; then 21 36 # source the current config 22 37 . /etc/alternc/local.sh 23 else24 # default values for local.sh25 MYSQL_HOST=localhost26 MYSQL_DATABASE=alternc27 MYSQL_USER=sysusr28 MYSQL_PASS=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..10)' `29 DEFAULT_IP=`/sbin/ifconfig | sed -e '/inet add\?r/!d; s/^.*inet add\?r:[^0-9\.]*\([0-9\.]*\).*$/\1/; q'`30 DEFAULT_MX=`cat /etc/mailname`31 DATA_PART=`df /var/alternc 2>/dev/null | awk '/^\// { print $1 }'`32 FQDN=`hostname -f`33 # default DATA_PART to /dev/hda, even if we can't find any34 # this will occur within vservers35 if [ -z $DATA_PART ]36 then37 DATA_PART=/dev/hda38 fi39 38 fi 40 39
Note: See TracChangeset
for help on using the changeset viewer.
