Print this page
XXX Remove nawk(1)
*** 178,188 ****
if [ $? = 0 ]; then
/usr/sbin/reboot -f -- "$bootcmd"
exit $SMF_EXIT_OK
fi
boot_prop=`/usr/sbin/svccfg -s svc:/system/boot-config:default listprop config/auto-reboot-safe | \
! /usr/bin/nawk '{ print $3}'`
if [ "$boot_prop" != "true" ]; then
cecho ""
cecho "WARNING: Reboot required."
cecho "The system has updated the cache of files (boot archive) that is used"
cecho "during the early boot sequence. To avoid booting and running the system"
--- 178,188 ----
if [ $? = 0 ]; then
/usr/sbin/reboot -f -- "$bootcmd"
exit $SMF_EXIT_OK
fi
boot_prop=`/usr/sbin/svccfg -s svc:/system/boot-config:default listprop config/auto-reboot-safe | \
! /usr/xpg4/bin/awk '{ print $3}'`
if [ "$boot_prop" != "true" ]; then
cecho ""
cecho "WARNING: Reboot required."
cecho "The system has updated the cache of files (boot archive) that is used"
cecho "during the early boot sequence. To avoid booting and running the system"