checkbashisms: clean up export statements.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained 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" | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user