1*3ce53722SRobert Mustacchi#!/usr/bin/ksh 2*3ce53722SRobert Mustacchi# 3*3ce53722SRobert Mustacchi# 4*3ce53722SRobert Mustacchi# This file and its contents are supplied under the terms of the 5*3ce53722SRobert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0. 6*3ce53722SRobert Mustacchi# You may only use this file in accordance with the terms of version 7*3ce53722SRobert Mustacchi# 1.0 of the CDDL. 8*3ce53722SRobert Mustacchi# 9*3ce53722SRobert Mustacchi# A full copy of the text of the CDDL should have accompanied this 10*3ce53722SRobert Mustacchi# source. A copy of the CDDL is also available via the Internet at 11*3ce53722SRobert Mustacchi# http://www.illumos.org/license/CDDL. 12*3ce53722SRobert Mustacchi# 13*3ce53722SRobert Mustacchi 14*3ce53722SRobert Mustacchi# 15*3ce53722SRobert Mustacchi# Copyright 2020 Oxide Computer Company 16*3ce53722SRobert Mustacchi# 17*3ce53722SRobert Mustacchi 18*3ce53722SRobert Mustacchiif ! rem_drv ksensor_test; then 19*3ce53722SRobert Mustacchi printf "failed to remove ksensor_test driver\n" 2>&1 20*3ce53722SRobert Mustacchi exit 1 21*3ce53722SRobert Mustacchifi 22*3ce53722SRobert Mustacchi 23*3ce53722SRobert Mustacchiexit 0 24