diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 20:33:18 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-26 20:33:18 +0200 |
commit | 3068d1897445701a7023606a8c708095803301b6 (patch) | |
tree | 51543c58c651515451f77156d44893bdd88cfc85 /src | |
parent | 9764526b049561ae71b791f790b984baaa364f81 (diff) |
make some seds more robust
Diffstat (limited to 'src')
-rwxr-xr-x | src/aif-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aif-test.sh b/src/aif-test.sh index de891a5..e6d1d33 100755 --- a/src/aif-test.sh +++ b/src/aif-test.sh @@ -24,7 +24,7 @@ $test_dir/setup_test.sh || fail=1 cp $test_dir/perform_test.sh /mnt/etc/rc.d/perform_test || fail=1 # make sure the test will run on the target system -sed -i 's#DAEMONS=(\(.*\))#DAEMONS=(\1 perform_test)#' /mnt/etc/rc.conf || fail=1 +sed -i 's#^DAEMONS=(\(.*\))#DAEMONS=(\1 perform_test)#' /mnt/etc/rc.conf || fail=1 # and that /etc/issue won't blank the screen sed -i 's/^H//' /mnt/etc/issue |