Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37518844
en ru br
Репозитории ALT

Группа :: Система/Ядро и оборудование
Пакет: disable-usb-autosuspend

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

Name:    disable-usb-autosuspend
Version: 1.1
Release: alt1
Summary: Disables autosuspend USB devices
License: Public domain
Group:   System/Kernel and hardware
BuildArch: noarch

Requires(post): make-initrd

%description
%summary.

%install
mkdir -p %buildroot%_sysconfdir/modprobe.d
echo "options usbcore autosuspend=-1" > %buildroot%_sysconfdir/modprobe.d/%name.conf

%post
# 1. check $DURING_INSTALL and do not make-initrd if system install
# 2. check sys filesystem mounted by mountpoint -q /sys
mountpoint -q /sys
[ $? -ne 0 -o -n "$DURING_INSTALL" ] || /usr/sbin/make-initrd

%files
%_sysconfdir/modprobe.d/%name.conf

%changelog

Полный changelog можно просмотреть здесь

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