aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-19 22:39:58 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-19 22:39:58 +0000
commit4d1715acdb11c105c8d33975711e94e35e7e04eb (patch)
tree92d8a598fb8a56a0ef97e3e4e604ebcdefaaf61f /init-sh
parenta5f5c3d062e4b8852ff7f43ecc2f96ed983d4970 (diff)
downloadmsec-4d1715acdb11c105c8d33975711e94e35e7e04eb.tar
msec-4d1715acdb11c105c8d33975711e94e35e7e04eb.tar.gz
msec-4d1715acdb11c105c8d33975711e94e35e7e04eb.tar.bz2
msec-4d1715acdb11c105c8d33975711e94e35e7e04eb.tar.xz
msec-4d1715acdb11c105c8d33975711e94e35e7e04eb.zip
*** empty log message ***
Diffstat (limited to 'init-sh')
-rw-r--r--init-sh/lib.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index f62faac..0b1f35c 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -87,6 +87,14 @@ CleanRules() {
echo "done."
}
+CleanRules2() {
+ echo -en "\t- Cleaning msec appended line in $1 : "
+
+ perl -ni -e '$_ eq "$ENV{COMMENT}\n" ... // or print' $1
+
+ echo "done."
+}
+
CommentUserRules() {
file=$1