summaryrefslogblamecommitdiffstats
path: root/slx-tools.template
blob: 35dbb4dcc889575140d8b1d461d931fcaf22cf57 (plain) (tree)
1
2
3
4
5
6
7
8




                                                                                


                                       













                                                                    
                                                      



          
#!/bin/ash

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

[ -n "$slx_tools_SOURCED" ] && return 0
slx_tools_SOURCED=1

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