updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bootchart / fix-inittab-regex.patch
blobf9c0a94069b125aa43a5c2cbbf68809285e6e55e
1 --- a/script/bootchartd 2007-10-27 17:47:04.000000000 +0200
2 +++ b/script/bootchartd 2007-10-27 18:45:10.000000000 +0200
3 @@ -114,7 +114,7 @@
4 # Wait for the boot process to end.
5 wait_boot()
7 - local runlevel=$( sed -n 's/.*:\(.*\):initdefault:.*/\1/gp' /etc/inittab )
8 + local runlevel=$( sed -n -e 's/#.*//g' -e 's/.*:\(.*\):initdefault:.*/\1/gp' /etc/inittab )
10 # The processes we have to wait for
11 local exit_proc="gdmgreeter gdm-binary kdm_greet kdm"