Changeset 25dfb16 for debian/config
- Timestamp:
- 2009-06-07T20:19:25Z (16 years ago)
- Branches:
- master
- Children:
- 0c41177
- Parents:
- 5916995
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/config
r5916995 r25dfb16 2 2 3 3 . /usr/share/debconf/confmodule 4 [ -f /etc/default/bitlbee ] && . /etc/default/bitlbee 4 5 5 6 db_title BitlBee 6 7 7 db_get bitlbee/serveport 8 if [ "$RET" = "stillhavetoask" ]; then 9 listens=$(netstat -ltn | awk '{print $4}') 10 for port in 6667 6666 6668 6669; do 11 if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then 12 break 13 fi 14 done 15 db_set bitlbee/serveport $port; 8 if [ -n "$BITLBEE_PORT" ]; then 9 db_set bitlbee/serveport "$BITLBEE_PORT" 10 else 11 db_get bitlbee/serveport 12 if [ "$RET" = "stillhavetoask" ]; then 13 listens=$(netstat -ltn | awk '{print $4}') 14 for port in 6667 6666 6668 6669; do 15 if [ $(expr "$listens " : ".*:$port\s") = "0" ]; then 16 break 17 fi 18 done 19 db_set bitlbee/serveport $port; 20 fi 16 21 fi 17 22
Note: See TracChangeset
for help on using the changeset viewer.