mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
added default values for restoring
This commit is contained in:
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
|
||||
int unattended = 0;
|
||||
struct keyvalue *unattendedkv = initkeyvalues();
|
||||
int hardyn = 0;
|
||||
char restore_file[STRING_SIZE];
|
||||
char restore_file[STRING_SIZE] = "";
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
sethostname( SNAME , 10);
|
||||
|
||||
@@ -41,7 +41,7 @@ int unattended_setup(struct keyvalue *unattendedkv) {
|
||||
char green_broadcast[STRING_SIZE];
|
||||
char root_password[STRING_SIZE];
|
||||
char admin_password[STRING_SIZE];
|
||||
char restore_file[STRING_SIZE];
|
||||
char restore_file[STRING_SIZE] = "";
|
||||
|
||||
findkey(unattendedkv, "DOMAINNAME", domainname);
|
||||
findkey(unattendedkv, "HOSTNAME", hostname);
|
||||
|
||||
Reference in New Issue
Block a user