diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-07 00:22:33 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-11-07 00:22:33 +0000 |
commit | 1b0130961ebc308bba4c9ced3988558bfac103d9 (patch) | |
tree | 40dcef0a3f194d4741a8ae3ea9c12015e0bc89df /etc | |
parent | 3809eac54d575d52d8793df38f826f1d7d7398fb (diff) |
checkbashisms: clean up export statements.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.conf.in | 2 | ||||
-rw-r--r-- | etc/rc.devd | 5 | ||||
-rw-r--r-- | etc/rc.in | 2 | ||||
-rw-r--r-- | etc/rc.shutdown.in | 4 |
4 files changed, 7 insertions, 6 deletions
diff --git a/etc/rc.conf.in b/etc/rc.conf.in index e49a410c..1536aa5b 100644 --- a/etc/rc.conf.in +++ b/etc/rc.conf.in @@ -101,7 +101,7 @@ # Some daemons are started and stopped via start-stop-daemon. # We can set some things on a per service basis, like the nicelevel. -#export SSD_NICELEVEL="-19" +#SSD_NICELEVEL="-19" # Pass ulimit parameters #rc_ulimit="-u 30" diff --git a/etc/rc.devd b/etc/rc.devd index 272a413a..11f27ebf 100644 --- a/etc/rc.devd +++ b/etc/rc.devd @@ -3,8 +3,9 @@ # Released under the 2-clause BSD license. # Inform RC that we are in the background and hotplugged -export IN_BACKGROUND=yes -export IN_HOTPLUG=yes +IN_BACKGROUND=yes +IN_HOTPLUG=yes +export IN_BACKGROUND IN_HOTPLUG getmedia() { ifconfig "$1" | while read line; do @@ -4,7 +4,7 @@ # 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 # Handle interrupts trap : SIGINT diff --git a/etc/rc.shutdown.in b/etc/rc.shutdown.in index 92aef92e..216e2f84 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}" |