r8169: remove presumably obsolete and unclear if working system-sleep workaround for r8169
This commit is contained in:
parent
729ec2578f
commit
f0eed65a8e
4
Makefile
4
Makefile
@ -64,8 +64,6 @@ xdg_appsdir = ${datadir}/applications
|
|||||||
xdg_directorydir = ${datadir}/desktop-directories
|
xdg_directorydir = ${datadir}/desktop-directories
|
||||||
xdg_menudir = ${sysconfdir}/xdg/menus
|
xdg_menudir = ${sysconfdir}/xdg/menus
|
||||||
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
xdg_mergedmenudir = $(xdg_menudir)/applications-merged
|
||||||
systemdsystemdir = /lib/systemd/system
|
|
||||||
systemdsleepdir = /lib/systemd/system-sleep
|
|
||||||
|
|
||||||
distrorootdir = ${datadir}/$(DISTROid)
|
distrorootdir = ${datadir}/$(DISTROid)
|
||||||
distrobindir = ${distrorootdir}/bin
|
distrobindir = ${distrorootdir}/bin
|
||||||
@ -147,13 +145,11 @@ install-kde-distro-addons: dist-update
|
|||||||
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
@$(INSTALL_DIR) $(DESTDIR)$(sbindir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(distrobindir)
|
@$(INSTALL_DIR) $(DESTDIR)$(distrobindir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
|
@$(INSTALL_DIR) $(DESTDIR)$(mambaimagesdir)
|
||||||
@$(INSTALL_DIR) $(DESTDIR)$(systemdsleepdir)
|
|
||||||
cp -r etc/polkit-1 $(DESTDIR)$(sysconfdir)/
|
cp -r etc/polkit-1 $(DESTDIR)$(sysconfdir)/
|
||||||
cp -r etc/prelink.conf.d $(DESTDIR)$(sysconfdir)/
|
cp -r etc/prelink.conf.d $(DESTDIR)$(sysconfdir)/
|
||||||
cp -r etc/profile.d $(DESTDIR)$(sysconfdir)/
|
cp -r etc/profile.d $(DESTDIR)$(sysconfdir)/
|
||||||
cp -r etc/sudoers.d $(DESTDIR)$(sysconfdir)/
|
cp -r etc/sudoers.d $(DESTDIR)$(sysconfdir)/
|
||||||
cp -r etc/sysconfig $(DESTDIR)$(sysconfdir)/
|
cp -r etc/sysconfig $(DESTDIR)$(sysconfdir)/
|
||||||
cp etc/system-sleep/* $(DESTDIR)$(systemdsleepdir)/
|
|
||||||
cp -r menu/icons/ $(DESTDIR)$(datadir)/icons/
|
cp -r menu/icons/ $(DESTDIR)$(datadir)/icons/
|
||||||
|
|
||||||
install-distromenu: dist-update
|
install-distromenu: dist-update
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
TMPFILE=/tmp/system-sleep-hook-r8169.tmp
|
|
||||||
if [ "$1/$2" = "pre/suspend" ]; then
|
|
||||||
rmmod r8169
|
|
||||||
touch $TMPFILE
|
|
||||||
elif [ "$1/$2" = "post/suspend" -a -e $TMPFILE ]; then
|
|
||||||
modprobe r8169
|
|
||||||
rm -f $TMPFILE
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user