installer-feature-desktop-suspend-0.4/000075500000000000000000000000001115320553600201305ustar00rootroot00000000000000installer-feature-desktop-suspend-0.4/Makefile000064400000000000000000000004121115320553600215650ustar00rootroot00000000000000install2_dir=$(datadir)/install2 install: install -d $(install2_dir) [ -d initinstall.d ] && cp -a initinstall.d $(install2_dir) ||: [ -d preinstall.d ] && cp -a preinstall.d $(install2_dir) ||: [ -d postinstall.d ] && cp -a postinstall.d $(install2_dir) ||: installer-feature-desktop-suspend-0.4/preinstall.d/000075500000000000000000000000001115320553600225275ustar00rootroot00000000000000installer-feature-desktop-suspend-0.4/preinstall.d/70-setup-resume000075500000000000000000000005021115320553600253340ustar00rootroot00000000000000#!/bin/sh -fu # get first suitable swap, configure resume (if any) . install2-init-functions blkid | grep swap | head -1 | sed 's/.*UUID="\(.*\)".*/\1/' \ | ( read UUID ||: [ -z "$UUID" ] || subst 's,^append=",&resume='/dev/disk/by-uuid/$UUID' ,' \ "$destdir"/usr/share/alterator-lilo/template/lilo.conf ||: ) :