summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-11-12 06:05:51 +0000
committerBill Nottingham <notting@redhat.com>2002-11-12 06:05:51 +0000
commit8dc7abc30ebe3d5e57840e52d944b46d4719a1cf (patch)
treeeb5dea109ff8e3a7d11f8a0bcb213614fd4b950c
parentc61206f36dbacebde8ea8e11bf3a4c665f04ce46 (diff)
unset langfile (#75662)
-rwxr-xr-xlang.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang.sh b/lang.sh
index 49459292..4936e9ea 100755
--- a/lang.sh
+++ b/lang.sh
@@ -75,3 +75,4 @@ if [ "$sourced" = 1 ]; then
unset SYSFONTACM SYSFONT
fi
unset sourced
+unset langfile
Source function library. . /etc/rc.d/init.d/functions RETVAL=0 # # See how we were called. # check() { # Check that we're a privileged user [ `id -u` = 0 ] || exit 4 # Check if abrt is executable test -x /usr/sbin/abrtd || exit 5 } start() { check # Check if it is already running if [ ! -f /var/lock/subsys/abrt ]; then echo -n $"Starting abrt daemon: " daemon /usr/sbin/abrtd RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/abrt echo fi return $RETVAL } stop() { check echo -n $"Stopping abrt daemon: " killproc /usr/sbin/abrtd RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/abrt echo return $RETVAL } restart() { stop start } reload() { restart } case "$1" in start) start ;; stop) stop ;; reload) reload ;; force-reload) echo "$0: Unimplemented feature." RETVAL=3 ;; restart) restart ;; condrestart) if [ -f /var/lock/subsys/abrt ]; then restart fi ;; status) status abrt RETVAL=$? ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|reload|force-reload}" RETVAL=2 esac exit $RETVAL