/usr/share/initramfs-tools/hooks/tuxonice is in tuxonice-userui 1.1+dfsg1.gc3bdd83-4.
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 | #!/bin/sh
[ "$1" = prereqs ] && exit
. /usr/share/initramfs-tools/hook-functions
if [ -f ${MODULESDIR}/kernel/power/tuxonice_userui.ko ]; then
force_load tuxonice_userui
fi
TUXONICEDIR=/usr/lib/tuxonice-userui
mkdir -p ${DESTDIR}${TUXONICEDIR}
copy_exec ${TUXONICEDIR}/tuxoniceui ${TUXONICEDIR}
[ -f /etc/tuxonice.conf ] && cp /etc/tuxonice.conf $DESTDIR/etc
if splash=`readlink -e /etc/splash/tuxonice`; then
mkdir $DESTDIR/etc/splash
cp -r "$splash" $DESTDIR/etc/splash/tuxonice
fi
|