Changeset 815
- Timestamp:
- 09/09/08 10:22:47 (3 months ago)
- Files:
-
- 1 modified
-
ares/trunk/debian/postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ares/trunk/debian/postinst
r811 r815 13 13 fi 14 14 15 templates="manager-password backup-device backup-vendor backup-model"16 17 for i in $templates; do18 RET=""19 while [ "x$RET" = "x" ]; do20 db_fset ares/$i seen false21 db_input high ares/$i || true22 db_go23 db_get ares/$i24 done25 done26 27 15 # TODO 28 16 db_get ares/manager-password 29 17 password="$RET" 30 18 cdd-config manager $password 31 32 db_get ares/backup-device33 device="$RET"34 db_get ares/backup-vendor35 vendor="$(echo "$RET"|sed -e 's/ /%SPACE%/g')"36 db_get ares/backup-model37 model="$(echo "$RET"|sed -e 's/ /%SPACE%/g')"38 cdd-config backup "$device" "$vendor" "$model"39 19 40 20 db_get arno-iptables-firewall/config-int-net
