Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37716770
en ru br
ALT Linux repositórios
S:0.6.1-alt1
5.0: 0.4-alt1
4.1: 0.3-alt2
4.0: 0.1-alt2

Group :: Sistema/Configurações/Rede
RPM: installer-feature-desktop-suspend

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

installer-feature-desktop-suspend-0.5/000075500000000000000000000000001164056332700201375ustar00rootroot00000000000000installer-feature-desktop-suspend-0.5/Makefile000064400000000000000000000004121164056332700215740ustar00rootroot00000000000000install2_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.5/preinstall.d/000075500000000000000000000000001164056332700225365ustar00rootroot00000000000000installer-feature-desktop-suspend-0.5/preinstall.d/70-setup-resume000075500000000000000000000005671164056332700253560ustar00rootroot00000000000000#!/bin/sh -fu
# get first suitable swap, configure resume (if any)

. install2-init-functions

blkid | grep -v '^/dev.*/zram' | grep swap | head -1 \
| sed 's/.*UUID="\(.*\)".*/\1/' | sed 's/".*//' \
| (
read UUID ||:
[ -z "$UUID" ] ||
subst "s,^GRUB_CMDLINE_LINUX_DEFAULT=',&resume=/dev/disk/by-uuid/$UUID ," \
"$destdir"/etc/sysconfig/grub2 ||:
)

:
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009