You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
438 B

if [ -z "$_PROFILES_PATH" ]; then
_MAIN_PATHD=/opt/profiles/scripts/
else
_MAIN_PATHD=${_PROFILES_PATH}scripts/
fi
is_done() {
if [ "$errors" != "0" ]; then
exit 1
fi
what=$(${_MAIN_PATHD}display_check.sh)
[[ $what == "" ]] && {
clear
#echo "Edit me: ${_MAIN_PATHD}sshto/core/is_done.inc"
$LSEXIT || exit 0
ls
exit 0;
} || { clear; echo $what; exit 1; }
}
trap is_done INT