Oops ... we should not expand virtual facitlies

within a shell
This commit is contained in:
Werner Fink 2010-02-19 14:37:46 +00:00
parent 535f7294f7
commit 21351448ad
2 changed files with 3 additions and 2 deletions

View File

@ -166,6 +166,7 @@ FILES = README \
init-functions \
remove_initd \
install_initd \
tests/common \
tests/suite \
insserv-$(VERSION).lsm

View File

@ -87,7 +87,7 @@ insertscript mountall.sh <<EOF
EOF
# This should fail, as it introduce a loop
if insertscript mdadm <<EOF ; then
if insertscript mdadm <<'EOF' ; then
### BEGIN INIT INFO
# Provides: mdadm
# Required-Start: $local_fs
@ -102,7 +102,7 @@ fi
echo insserv.conf:
cat $insconf
list_rclinks
check_order 3 mountall.sh mdadm
check_order 3 hibernate mountall.sh
}
##########################################################################