/usr/sbin/update-metainit is in metainit 0.0.5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #!/bin/sh
# Interface:
# Rebuild init scripts (e.g., after a meta init script was added or edited)
# $0
#
# Removed meta-init-script:
# $0 --remove-metainit <scriptname>
#
# If a init sytem is removed, the maintainer scripts should
# call a script that cleans up the generated files for that system directly.
# This will probably be /usr/lib/metainit/translators once
if test -n "$METAINIT_PREFIX"
then
translators_dir="$METAINIT_PREFIX/translators/"
else
translators_dir="/usr/share/metainit/translators/"
fi
# This is just a thin wrapper around the per-init-system
# translators.
for trans in $translators_dir/*
do
$trans "$@"
done
|