Package: tuxonice-userui
Version: 0.7.2+clean-4
Severity: wishlist
Tags: patch
It would be very nice to include hooks to have the user interface
copied onto initrds created with initramfstools. On my own system, I
put the attached script in /etc/initramfs-tools/hooks/tuxonice ; the
package should put it instead in /usr/share/initramfs-tools/hooks.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages tuxonice-userui depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libusplash0 0.5.19-3 userspace bootsplash library
Versions of packages tuxonice-userui recommends:
ii hibernate 1.99-1 smartly puts your computer to slee
tuxonice-userui suggests no packages.
-- no debconf information
#!/bin/sh
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
TUXONICEDIR=usr/lib/tuxonice-userui
if [ -x /${TUXONICEDIR}/tuxoniceui_text ];
then
mkdir --parents ${DESTDIR}/${TUXONICEDIR} 2>/dev/null || true
copy_exec /${TUXONICEDIR}/tuxoniceui_text ${TUXONICEDIR}
fi
if [ -x /${TUXONICEDIR}/tuxoniceui_usplash ];
then
mkdir --parents ${DESTDIR}/${TUXONICEDIR} 2>/dev/null || true
copy_exec /${TUXONICEDIR}/tuxoniceui_usplash ${TUXONICEDIR}
fi
if [ -x /${TUXONICEDIR}/tuxoniceui_fbsplash ];
then
mkdir --parents ${DESTDIR}/${TUXONICEDIR} 2>/dev/null || true
copy_exec /${TUXONICEDIR}/tuxoniceui_fbsplash ${TUXONICEDIR}
fi