#!/bin/sh # # Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved. # # olfs.sbs - init script for the Oracle Layered File System driver # This is run by the RC system. ################### INSTANTIATED VARIABLES #################### OLFS_DRIVER=%DRIVER_PATH% AUI=%AUI_PATH% AGI=%AGI_PATH% ORACLE_HOME=%OH_PATH% DRIVERLOAD_CMD=/sbin/insmod MOUNT_CMD=mount CMD="$DRIVERLOAD_CMD $OLFS_DRIVER/oracleolfs.ko" $CMD if_fail "$?" "Failed to Load OLFS" CMD="$MOUNT_CMD -t olfs $AUI $ORACLE_HOME -o $AGI" $CMD if_fail "$?" "Failed to mount OLFS"