Commit 95a7d067 authored by Tails developers's avatar Tails developers
Browse files

Assert that dependency based boot sequencing is configured

Numbering initscript sequence is difficult and error prone. Let's just rely on
the fact that we have dependency based boot sequencing available now!
parent bbfd18cf
#!/bin/sh
# Ensure that we are using dependency based boot
if ! dpkg -s insserv >/dev/null 2>&1 || [ -f /etc/init.d/.legacy-bootordering ]; then
echo "Dependency based boot sequencing is not configured. Aborting." >&2
exit 1
fi
echo "managing initscripts"
# enable custom initscripts
......
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