summaryrefslogtreecommitdiffstats
path: root/abrt.init
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 13:21:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-02-09 13:21:12 +0100
commit7cb783dabf6a55780d77263272e38f684ba3307c (patch)
treef89d7cb8ffa9186ab97b7facb0abb4b7d9b3e22a /abrt.init
parentc4425b1a6f3be01c0e7b8d58ebfd2b2df836ed0a (diff)
downloadabrt-7cb783dabf6a55780d77263272e38f684ba3307c.tar.gz
abrt-7cb783dabf6a55780d77263272e38f684ba3307c.tar.xz
abrt-7cb783dabf6a55780d77263272e38f684ba3307c.zip
abrt.init: add commented-out http[s]_proxy=xxx assignments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'abrt.init')
-rw-r--r--abrt.init10
1 files changed, 8 insertions, 2 deletions
diff --git a/abrt.init b/abrt.init
index 6256767..c286c64 100644
--- a/abrt.init
+++ b/abrt.init
@@ -11,7 +11,7 @@
# Default-Stop: 0 1 2 6
# Default-Start: 3 5
# Short-Description: start and stop abrt daemon
-# Description: Listen and dispatch crash events
+# Description: Listen to and dispatch crash events
### END INIT INFO
# Source function library.
@@ -21,12 +21,18 @@ LOCK="/var/lock/subsys/abrtd"
RETVAL=0
#
+# Set these variables if you are behind proxy
+#
+#export http_proxy=
+#export https_proxy=
+
+#
# See how we were called.
#
check() {
# Check that we're a privileged user
- [ `id -u` = 0 ] || exit 4
+ [ "`id -u`" = 0 ] || exit 4
# Check if abrt is executable
test -x $ABRT_BIN || exit 5