installer-feature-desktop-suspend-0.1/000075500000000000000000000000001100332623100201135ustar00rootroot00000000000000installer-feature-desktop-suspend-0.1/Makefile000064400000000000000000000004121100332623100215500ustar00rootroot00000000000000install2_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.1/preinstall.d/000075500000000000000000000000001100332623100225125ustar00rootroot00000000000000installer-feature-desktop-suspend-0.1/preinstall.d/70-setup-resume000075500000000000000000000005151100332623100253230ustar00rootroot00000000000000#!/bin/sh -efu # get first suitable swap, configure resume (if any) . install2-init-functions blkid \ | fgrep 'TYPE="swap"'\ | egrep -v '/dev/(evms|dm-|md)' \ | head -n 1 \ | cut -d: -f1 \ | ( read SWAPDEV [ -z "$SWAPDEV" ] || subst 's,^append=",&resume='$SWAPDEV' ,' \ "$destdir"/usr/share/alterator-lilo/template/lilo.conf )