# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Sam Mär 17 20:12:26 CET 2007 [mika]
+# Latest change: Sam Apr 14 11:01:58 CEST 2007 [mika]
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
fi
fi
+# get_tw_cli has been renamed into get_3ware
+ if [ -x /usr/bin/get_3ware ] ; then
+ get_tw_cli() {
+ echo 'Warning: get_tw_cli has been renamed into get_3ware. Invoking get_3ware for you.'>&2
+ get_3ware
+ }
+ fi
+
# I hate lacking backward compability, so provide an alternative therefore
if ! [ -x /usr/sbin/apache2-ssl-certificate ] ; then
function apache2-ssl-certificate(){
# list symlinks in detail (more detailed version of 'readlink -f' and 'whence -s')
sll() {
- [ -z "$1" ] && printf 'usage: %s <file>\n' "$0" && exit 1
- for i in $* ; do
+ [ -z "$1" ] && printf 'Usage: %s <file(s)>\n' "$0" && return 1
+ for i in "$@" ; do
file=$i
while [ -h "$file" ] ; do
ls -l $file