summaryrefslogblamecommitdiffstats
path: root/slx-tools.template
blob: 7adf6c0f5eec0fc8ee6fe53d275fb39d67e7d543 (plain) (tree)


















                                                                                
                                                      



          
#!/bin/ash

# Collection of small ash functions utilized in various scripts.
################################################################################

case "$PATH" in
	*opt/openslx*) ;;
	*) export PATH="$PATH:/opt/openslx/bin:/opt/openslx/sbin" ;;
esac

BASE=.

%DEFS%

if [ "${0##*/}" = "slx-tools" ]; then
	if [ $# -ge 1 ]; then
		"$@"
	else
		echo "slx-tools [function] [args...]"
		echo "Available functions:%FUNCTIONS%"
	fi
else
	:
fi