Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 99
Line 99... Line 99...
99
99
100
version ('2.0');
100
version ('2.0');
101
101
102
my $capb = &capb ('backup');
102
my $capb = &capb ('backup');
103
103
-
 
104
system {'sh'} 'sh', '-c', <<'EOF';
-
 
105
[ -e /etc/default/lsh-server ] || exit 0
-
 
106
. /etc/default/lsh-server
-
 
107
. /usr/share/debconf/confmodule
-
 
108
-
 
109
db_set lsh-server/lshd_port "$LSHD_PORT" || true
-
 
110
db_set lsh-server/sftp "$ENABLE_SFTP" || true
-
 
111
db_set lsh-server/extra_args "$EXTRA_ARGS" || true
-
 
112
EOF
-
 
113
104
if ($ARGV[0] eq "configure" || $ARGV[0] eq "reconfigure") {
114
if ($ARGV[0] eq "configure" || $ARGV[0] eq "reconfigure") {
105
   &configure ();
115
   &configure ();
106
}
116
}
107
117
108
118