summaryrefslogtreecommitdiff
path: root/etc/rc.shutdown.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.shutdown.in')
-rw-r--r--etc/rc.shutdown.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.shutdown.in b/etc/rc.shutdown.in
index 92aef92..216e2f8 100644
--- a/etc/rc.shutdown.in
+++ b/etc/rc.shutdown.in
@@ -7,11 +7,11 @@ trap : SIGINT SIGQUIT
# Try and use stuff in /lib over anywhere else so we can shutdown
# local mounts correctly.
-export LD_LIBRARY_PATH="/lib${LD_LIBRARY_PATH:+:}${LDLIBRARY_PATH}"
+LD_LIBRARY_PATH="/lib${LD_LIBRARY_PATH:+:}${LDLIBRARY_PATH}" ; export LD_LIBRARY_PATH
# If $TERM is not set then assume default of @TERM@
# This gives us a nice colour boot :)
-[ -z "$TERM" -o "$TERM" = "dumb" ] && export TERM="@TERM@"
+[ -z "$TERM" -o "$TERM" = "dumb" ] && TERM="@TERM@" && export TERM
action=${1:-shutdown}
exec /sbin/rc "${action}"