aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 10:10:40 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 10:10:40 +0000
commit943815067d4b3a1b01a524ac45fa66415e0e45e8 (patch)
tree536e075d6d7fd2c03ffd6550a66e6dfbd29807c1
parent3ed27ad5e8a6578b16e851384b43bbce4ce97ca6 (diff)
downloadinitscripts-943815067d4b3a1b01a524ac45fa66415e0e45e8.tar
initscripts-943815067d4b3a1b01a524ac45fa66415e0e45e8.tar.gz
initscripts-943815067d4b3a1b01a524ac45fa66415e0e45e8.tar.bz2
initscripts-943815067d4b3a1b01a524ac45fa66415e0e45e8.tar.xz
initscripts-943815067d4b3a1b01a524ac45fa66415e0e45e8.zip
- further smaller cleanups, TEXTDOMAIN* is never exported
-rwxr-xr-xrc.d/rc4
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases3
2 files changed, 2 insertions, 5 deletions
diff --git a/rc.d/rc b/rc.d/rc
index 69b4cd87..226c5cfb 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -98,8 +98,6 @@ if [ -d /etc/rc$runlevel.d ]; then
if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
unset LANG
unset LC_ALL
- unset TEXTDOMAIN
- unset TEXTDOMAINDIR
exec $i start
else
$i start
@@ -109,8 +107,6 @@ if [ -d /etc/rc$runlevel.d ]; then
if [ "$subsys" = "halt" -o "$subsys" = "reboot" ]; then
unset LANG
unset LC_ALL
- unset TEXTDOMAIN
- unset TEXTDOMAINDIR
exec $i start
fi
$i start
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 41525575..4671692a 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -58,7 +58,9 @@
# June 30, 1999
#
# modified by: Bill Nottingham <notting@redhat.com>
+
TEXTDOMAIN=initscripts
+TEXTDOMAINDIR=/etc/locale
device=$1
if [ "$device" = "" ]; then
@@ -354,4 +356,3 @@ if [ -x /sbin/ifup-local ]; then
/sbin/ifup-local ${DEVICE}
done
fi
-