aboutsummaryrefslogtreecommitdiffstats
path: root/debug.csh
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-07-29 12:09:51 -0400
committerBill Nottingham <notting@redhat.com>2008-07-29 12:09:51 -0400
commit1c27e9e64ba2bec2868da849e86b227b56f03257 (patch)
treeea44fdd5f33cb5769efdd92aad5f10594bbb4803 /debug.csh
parent327cfaeab96ffbec4145648de16d58346d4b3f9a (diff)
downloadinitscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.gz
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.bz2
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.tar.xz
initscripts-1c27e9e64ba2bec2868da849e86b227b56f03257.zip
Rename the mcheck stuff to a more generic 'debug' framework.
Diffstat (limited to 'debug.csh')
-rw-r--r--debug.csh3
1 files changed, 3 insertions, 0 deletions
diff --git a/debug.csh b/debug.csh
new file mode 100644
index 00000000..a5d5df6c
--- /dev/null
+++ b/debug.csh
@@ -0,0 +1,3 @@
+if ( -f /etc/sysconfig/debug ) then
+ eval `egrep -v '(^[:blank:]*#|\$RANDOM)' /etc/sysconfig/debug | sed 's|^export ||g' | sed 's|\([^=]*\)=\([^=]*\)|setenv \1 \2|g' | sed 's|$|;|'`
+endif