]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/setup/misc.c
Merge branch 'master' into next
[people/pmueller/ipfire-2.x.git] / src / setup / misc.c
index 2a9f1312f160bdac6e9e530391d8b66d691d62a8..3b258e0f184e29bd32c1933b3990b9d0199d285b 100644 (file)
@@ -131,7 +131,7 @@ int writehostsfiles(void)
        fclose(file);
        
        sprintf(commandstring, "/bin/hostname %s.%s", hostname, domainname);
-       if (mysystem(commandstring))
+       if (mysystem(NULL, commandstring))
        {
                errorbox(_("Unable to set hostname."));
                return 0;
@@ -144,7 +144,7 @@ int handleisdn(void)
 {
        char command[STRING_SIZE];
        sprintf(command, "/etc/rc.d/init.d/mISDN config");
-       if (runcommandwithstatus(command, _("ISDN"), _("Scanning and configuring ISDN devices.")))
+       if (runcommandwithstatus(command, _("ISDN"), _("Scanning and configuring ISDN devices."), NULL))
                errorbox(_("Unable to scan for ISDN devices."));
        // Need to write some lines that count the cards and say the names...
        return 1;