aboutsummaryrefslogtreecommitdiffstats
path: root/init-sh/lib.sh
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-12-19 22:15:05 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-12-19 22:15:05 +0000
commitf0d82b466910ba75d055c5b53b0493d2167c821b (patch)
tree7b92263601bec93b15a9a8333738401ec726db03 /init-sh/lib.sh
parent4080e206cd66db99a8cc6c653a690291adeaee9e (diff)
downloadmsec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar
msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.gz
msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.bz2
msec-f0d82b466910ba75d055c5b53b0493d2167c821b.tar.xz
msec-f0d82b466910ba75d055c5b53b0493d2167c821b.zip
*** empty log message ***
Diffstat (limited to 'init-sh/lib.sh')
-rw-r--r--init-sh/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/init-sh/lib.sh b/init-sh/lib.sh
index 1070c3d..20cfe96 100644
--- a/init-sh/lib.sh
+++ b/init-sh/lib.sh
@@ -47,7 +47,7 @@ AddBegRules() {
echo "Modifying config in ${2}..."
export VAL=$2
- perl -pe -i '/^#/ or /^$/ or $m++ or print "$ENV{COMMENT}\n$ENV{VAL}\n\n"' $1
+ perl -pi -e '/^#/ or /^$/ or $m++ or print "$ENV{COMMENT}\n$ENV{VAL}\n\n"' $1
echo -e "done.\n"
}