/etc/init.d/mountnfs-bootclean.sh is in initscripts 2.88dsf-59.3ubuntu2.
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 28 29 30 31 32 33 34 35 36 | #! /bin/sh
### BEGIN INIT INFO
# Provides: mountnfs-bootclean
# Required-Start: $local_fs mountnfs
# Required-Stop:
# Default-Start: S
# Default-Stop:
# X-Start-Before: bootmisc
# Short-Description: bootclean after mountnfs.
# Description: Clean temporary filesystems after
# network filesystems have been mounted.
### END INIT INFO
. /lib/lsb/init-functions
. /lib/init/bootclean.sh
case "$1" in
start|"")
# Clean /tmp, /var/lock, /var/run
clean_all
exit $?
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop|status)
# No-op
;;
*)
echo "Usage: mountnfs-bootclean.sh [start|stop]" >&2
exit 3
;;
esac
:
|