#!/usr/bin/ksh # # slocal_wrapper # # AUTHOR: # Dan Harkless # # COPYRIGHT: # This file is Copyright (C) 1998 by Dan Harkless, and is released under the # GNU General Public License . # # DESCRIPTION: # It's not possible to execute a subshell with arbitrary commands, output # redirection, etc., in the .forward file, so wrap this script around the # real slocal. # # DATE MODIFICATION # ========== ================================================================== # 1998-04-09 Original. # In my environment, at least, $HOME isn't set, so we have to set it manually! #export HOME=/home/youracct # The path to slocal may vary on your system! export PATH=/usr/local/lib/nmh:$PATH cd umask 077 set -x exec 1>logs/slocal 2>&1 exec slocal $*