Bug#406393: [Pkg-sysvinit-devel] Bug#406393: rc script: avoiding use of Sed

2007-01-10 Thread Petter Reinholdtsen
[Ivan Baldo] > That should be faster than using sed because sed is an external > program and a complex one by the way. Thank you for the patch. I will test it and see if we can use it. > P.s.: I see that initscripts are incorporating special comments to > declare dependencies, is there any aprox

Bug#406393: rc script: avoiding use of Sed

2007-01-10 Thread Ivan Baldo
Package: sysv-rc Version: 2.86.ds1-36 Severity: wishlist Tags: patch One can detect the priority level of an init script with: level=${s#/etc/rc$runlevel.d/S} level=${level%%[a-z]*} That should be faster than using sed because sed is an external program and a complex one by the way. I wasn't