/lib/recovery-mode/options/clean is in friendly-recovery 0.2.31.
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 | #!/bin/sh
. /lib/recovery-mode/l10n.sh
if [ "$1" = "test" ]; then
echo $(eval_gettext "Try to make free space")
exit 0
fi
apt-get clean
echo $(eval_gettext "Trying to find packages you don't need (apt-get autoremove), please review carefully.")
apt-get autoremove
echo ""
echo $(eval_gettext "Finished, please press ENTER")
read TMP
exit 0
|