File: config

package info (click to toggle)
base-passwd 3.1.10
  • links: PTS
  • area: main
  • in suites: potato
  • size: 200 kB
  • ctags: 115
  • sloc: ansic: 1,149; sh: 232; makefile: 76
file content (19 lines) | stat: -rw-r--r-- 381 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

. /usr/share/debconf/confmodule

db_fget base-passwd/update-passwd isdefault
if [ "$RET" = "true" ]; then
    db_set base-passwd/update-passwd true
fi

# Ask about automatic updating.

db_input low base-passwd/update-passwd || true
db_go

db_get base-passwd/update-passwd
if [ "$RET" = "false" ]; then
    db_input low base-passwd/refused-update || true
    db_go
fi