Find networks in instead of .
[tinc] / debian / postinst
index 25cc4c0..84830b7 100644 (file)
@@ -1,7 +1,7 @@
 #! /bin/sh
 # postinst script for tinc
 #
-# $Id: postinst,v 1.3 2000/05/18 23:18:54 zarq Exp $
+# $Id: postinst,v 1.4 2000/05/19 00:09:20 zarq Exp $
 #
 # see: dh_installdeb(1)
 
@@ -41,7 +41,7 @@ case "$1" in
 
        if [ ! -e $NETSFILE ] ; then
            echo "## This file contains all names of the networks to be started on system startup." > $NETSFILE
-           find -maxdepth 1 -mindepth 1 -type d -printf "%f\n" >> $NETSFILE
+           find $TCONF -maxdepth 1 -mindepth 1 -type d -printf "%f\n" >> $NETSFILE
        fi
     ;;