Print this page
uadmin

*** 249,264 **** /* are we rebooting to a GRUB menu entry? */ if (isdigit(bargs[0])) { int entry = strtol(bargs, NULL, 10); (void) snprintf(cmdbuf, sizeof (cmdbuf), ! "/sbin/bootadm set-menu %sdefault=%d", altroot, entry); } else { (void) snprintf(cmdbuf, sizeof (cmdbuf), ! "/sbin/bootadm -m update_temp %s" ! "-o %s%s%s", altroot, quote, &bargs[off], quote); } (void) system(cmdbuf); } check_archive_update(); --- 249,264 ---- /* are we rebooting to a GRUB menu entry? */ if (isdigit(bargs[0])) { int entry = strtol(bargs, NULL, 10); (void) snprintf(cmdbuf, sizeof (cmdbuf), ! "/sbin/grubadm %s --set-default %d", altroot, entry); } else { (void) snprintf(cmdbuf, sizeof (cmdbuf), ! "/sbin/grubadm --new --default %s" ! "--set-opts %s%s%s", altroot, quote, &bargs[off], quote); } (void) system(cmdbuf); } check_archive_update();