Modified /etc/profile to append /sbin to PATH and source /etc/locale.conf
This commit is contained in:
@@ -11,8 +11,16 @@ append_path() {
|
||||
}
|
||||
|
||||
# Appending paths
|
||||
append_path '/usr/local/sbin'
|
||||
append_path '/usr/sbin'
|
||||
append_path '/usr/local/bin'
|
||||
append_path '/usr/local/sbin'
|
||||
|
||||
# Source locale.conf
|
||||
if [ -f /etc/locale.conf ]; then
|
||||
set -a
|
||||
. /etc/locale.conf
|
||||
set +a
|
||||
fi
|
||||
|
||||
# Unsetting functions
|
||||
unset -f append_path
|
||||
|
||||
Reference in New Issue
Block a user