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 \
|
init-functions \
|
||||||
remove_initd \
|
remove_initd \
|
||||||
install_initd \
|
install_initd \
|
||||||
|
tests/common \
|
||||||
tests/suite \
|
tests/suite \
|
||||||
insserv-$(VERSION).lsm
|
insserv-$(VERSION).lsm
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ insertscript mountall.sh <<EOF
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# This should fail, as it introduce a loop
|
# This should fail, as it introduce a loop
|
||||||
if insertscript mdadm <<EOF ; then
|
if insertscript mdadm <<'EOF' ; then
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: mdadm
|
# Provides: mdadm
|
||||||
# Required-Start: $local_fs
|
# Required-Start: $local_fs
|
||||||
|
@ -102,7 +102,7 @@ fi
|
||||||
echo insserv.conf:
|
echo insserv.conf:
|
||||||
cat $insconf
|
cat $insconf
|
||||||
list_rclinks
|
list_rclinks
|
||||||
check_order 3 mountall.sh mdadm
|
check_order 3 hibernate mountall.sh
|
||||||
}
|
}
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue