#!/bin/bash [[ ! $(mount) =~ 'iso9660' ]] && mount -t iso9660 -o ro,loop /root/ISO/Topspin_1.3PL10.iso /root/tmpdrv TSDISK=/root/tmpdrv #check if diskless exists. If so, clean up if [[ -d /usr/diskless ]]; then $TSDISK/install --auto --remove --select diskless --no-os-check --display :0 fi umount /root/tmpdrv
How to use the assert() function to test shortcodes?
How to use the assertEqual() function to test shortcodes?