/usr/lib/freedombox/setup is in freedombox-setup 0.8ubuntu1.
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 | #!/bin/sh
# Make sure configuring packages do not start any services
if [ ! -e /usr/sbin/policy-rc.d ] ; then
cat > /usr/sbin/policy-rc.d <<EOF
#!/bin/sh
exit 101
EOF
chmod a+rx /usr/sbin/policy-rc.d
policyd=true
else
policyd=false
fi
for f in /usr/lib/freedombox/setup.d/* ; do
echo "running $f"
$f
done
# Allow services to start after upgrading
if $policyd ; then
rm /usr/sbin/policy-rc.d
fi
|