Changeset 1096
- Timestamp:
- 04/02/08 01:38:11
(8 months ago)
- Author:
- rats
- Message:
small fix
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1095 |
r1096 |
|
| 44 | 44 | return $rs if ($rs != 0); |
|---|
| 45 | 45 | |
|---|
| 46 | | my $qmsg = "\tNext your are asked to anter a "fully qualified hostname" (FQHN).\n" . |
|---|
| | 46 | my $qmsg = "\tNext your are asked to anter a \"fully qualified hostname\" (FQHN).\n" . |
|---|
| 47 | 47 | "\tFor more infos read http://en.wikipedia.org/wiki/FQDN.\n\n" . |
|---|
| 48 | 48 | "\tPlease enter fully qualified hostname. [$hostname]: "; |
|---|
| r1083 |
r1096 |
|
| 784 | 784 | push_el(\@main::el, 'patch_ispcp_rc4()', 'Starting...'); |
|---|
| 785 | 785 | |
|---|
| 786 | | print STDOUT "\tNothing to do."; |
|---|
| | 786 | # update ispcp.conf |
|---|
| | 787 | my $cfg_file = $main::cfg_file; |
|---|
| | 788 | my $old_cfg_file = undef; |
|---|
| | 789 | if (defined($main::ua{'old_cfg_file'})) { |
|---|
| | 790 | print STDOUT "\tUpgrading system values..."; |
|---|
| | 791 | |
|---|
| | 792 | $rs = update_conf($old_cfg_file, $cfg_file); |
|---|
| | 793 | if ($rs != 0) { |
|---|
| | 794 | exit_werror("failed to get $cfg_file or $old_cfg_file"); |
|---|
| | 795 | } |
|---|
| | 796 | |
|---|
| | 797 | # save into /etc/ispcp/ispcp.conf |
|---|
| | 798 | $rs = store_conf(); |
|---|
| | 799 | if ($rs != 0) { |
|---|
| | 800 | exit_werror("Storing new ispcp.conf failed!"); |
|---|
| | 801 | } |
|---|
| | 802 | print STDOUT "done\n"; |
|---|
| | 803 | } |
|---|
| 787 | 804 | |
|---|
| 788 | 805 | push_el(\@main::el, 'patch_ispcp_rc4()', 'Ending...'); |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>