Commit 345375f5 authored by Michael Shigorin's avatar Michael Shigorin

rescue: adjust for rescue-remote as well

The added initscript used to be purged by 98-init-rescue which has been somewhat overlooked during vain attempts to build an image that would actually run it!
parent 1258934e
......@@ -10,11 +10,14 @@ if [ -x /etc/rc.d/init.d/rpcbind ]; then
fi
# remove unwanted startup scripts
echo "** removing initscripts:"
find /etc/rc.d/rc{2,3,4,5}.d/ -type l -name 'S*' \
-not -name '*livecd-net-eth' \
-not -name '*logd' \
-not -name '*network' \
-not -name '*rpcbind' \
-not -name '*random' \
-not -name '*rescue-remote' \
-not -name '*sysreport' \
-not -name '*udev*' \
-delete -print
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment