[OpenIndiana-discuss] Split-root installations

Jim Klimov jimklimov at cos.ru
Wed Nov 27 13:04:11 UTC 2013


Typo fix:

> +if [ x"$_USR_WAS_AVAILABLE" = no ]; then
+if [ x"$_USR_WAS_AVAILABLE" = xno ]; then

> +       for _SVC in $NET_PHYS_FMRI $NET_NWAM_FMRI $NET_IPTUN_FMRI; do
> +               _STATE="`$SVCS -H -o state $_SVC`"
> +               [ x"$debug_mnt" = x1 ] && echo "fs-root: $_SVC: $_STATE"
>  > /dev/msglog
> +               case "$_STATE" in
> +                   online*)    $SVCADM restart $_SVC ;;
> +                   maintenance)$SVCADM clear $_SVC ;;
> +               esac
> +       done
> +       unset _SVC _STATE
> +fi
> +unset _USR_WAS_AVAILABLE
> +
>   libc_mount
>
>   exit $SMF_EXIT_OK



More information about the OpenIndiana-discuss mailing list