- Add AIX support,
- Add --list (-l), --listid (-li) and --listenv (-le) options. - Add and rework many scripts in etc/envmng.d directory...
This commit is contained in:
48
etc/envmng.d/aix-system
Normal file
48
etc/envmng.d/aix-system
Normal file
@@ -0,0 +1,48 @@
|
||||
# $RCSfile: aix-system,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# EnvMng Environment configuration
|
||||
#
|
||||
# description: AIX System base configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
path=/usr/linux/bin:/usr/ucb:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/opt/seos/bin:/usr/games
|
||||
|
||||
shlib_path=/usr/local/lib
|
||||
|
||||
manpath=/usr/local/man:/opt/seos/man:/opt/freeware/man
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
*profile)
|
||||
export PATH=$(envmng_path_add "$PATH" "$path")
|
||||
export SHLIB_PATH=$(envmng_path_add "$SHLIB_PATH" "$shlib_path")
|
||||
export MANPATH=$(envmng_path_add "$MANPATH" "$manpath")
|
||||
|
||||
if [ "$DISPLAY" = "" ]
|
||||
then
|
||||
export DISPLAY="$($grep "^$LOGNAME:" $envmng_display | $sed -e "s/^$LOGNAME:[ \ ]*//" -e "s/[ \ ]*#.*$//"):0"
|
||||
fi
|
||||
|
||||
stty erase ^?
|
||||
stty kill ^U
|
||||
stty eol ^@
|
||||
stty susp ^Z
|
||||
stty intr ^C
|
||||
# stty rprnt ^R
|
||||
stty werase ^W
|
||||
stty lnext ^V
|
||||
;;
|
||||
|
||||
*rc)
|
||||
alias ls=ls
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user