mirror of https://github.com/slicer69/insserv.git
Oops ... we should not expand virtual facitlies
within a shell
This commit is contained in:
parent
535f7294f7
commit
21351448ad
1
Makefile
1
Makefile
|
@ -166,6 +166,7 @@ FILES = README \
|
|||
init-functions \
|
||||
remove_initd \
|
||||
install_initd \
|
||||
tests/common \
|
||||
tests/suite \
|
||||
insserv-$(VERSION).lsm
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
##########################################################################
|
||||
|
||||
|
|
Loading…
Reference in New Issue