wiki:SaliUsage/Functions/shellopen

shellopen

This function open a shell/console.

Example

In SALI it is used to open a console if a SCRIPTNAME is not specified (/etc/init.d/rcS):

# if scriptname is not specified open the console!
if [ -z $SCRIPTNAME ]; then
    logmsg
    logmsg "No script defined, opening console"
    write_variables
    shellopen
fi
Last modified 14 years ago Last modified on 08/11/10 11:47:16