Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../.././../lib/svc/method/boot-archive
Real path: /lib/svc/method/boot-archive
Zurück
#!/usr/bin/sh # # Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved. # . /lib/svc/share/smf_include.sh . /lib/svc/share/fs_include.sh . /lib/svc/share/reboot_include.sh smf_is_globalzone || exit $SMF_EXIT_OK # # Now check the archive. # if /usr/sbin/bootadm update-archive -vnC 2> /dev/null; then exit $SMF_EXIT_OK fi # Try to update the boot archive. We may be unable to update the # boot archive when a new boot pool is being created as devfsadm # has not run yet. If we can't update the boot-archive, we will do # it later. If we can successfully update the boot-archive, then # reboot so we are consistent. if ! /usr/sbin/bootadm update-archive 2> /dev/null; then echo > $SMF_SYSVOL_FS/boot_archive_need_devfsadm exit $SMF_EXIT_OK fi MSGWILLREBOOT="\ An inconsistency in the boot archive was detected.\n\ The boot archive will be updated, then the system will reboot." MSGREQUIREREBOOT="\ WARNING: Reboot required.\n\ The system has updated the boot archive.\n\ To avoid booting and running the system with the previously out-of-sync\n\ version of this file, reboot the system from the same device that was\n\ previously booted." system_reboot "$MSGWILLREBOOT" "$MSGREQUIREREBOOT" exit $SMF_EXIT_ERR_FATAL