Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37911232
en ru br
Репозитории ALT
S:0.6.1-alt1
5.1: 0.4-alt1
4.1: 0.3-alt2
4.0: 0.1-alt2
www.altlinux.org/Changes

Группа :: Система/Настройка/Прочее
Пакет: installer-feature-desktop-suspend

 Главная   Изменения   Спек   Патчи   Исходники   Загрузить   Gear   Bugs and FR  Repocop 

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
)
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin