summaryrefslogblamecommitdiffstats
path: root/slx-tools.template
blob: 0fb99b3a0bd274a742fff8db472574a20eb513aa (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...]"
	fi
else
	:
fi