<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Скрипт после сна в Lubuntu]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=33948&amp;type=atom" />
	<updated>2014-02-21T10:22:30Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=33948</id>
		<entry>
			<title type="html"><![CDATA[Re: Скрипт после сна в Lubuntu]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=395641#p395641" />
			<content type="html"><![CDATA[<p>у вас в скрипте есть что-то типа:<br /></p><div class="codebox"><pre><code>case $1 in
     suspend|suspend_hybrid|hibernate)
        echo suspend &gt; /sys/bus/usb/devices/${BUS}-${DEVICE}/power/level
        ;;
     resume|thaw)                                                                                                                                                                      
        # No need to do anything here, kernel unsuspends USB devices                                                                                                                   
        :                                                                                                                                                                              
        ;;                                                                                                                                                                             
esac             </code></pre></div><p>&nbsp; &nbsp;</p><p>вот и подумайте как переделать скрипт чтоб он срабатывал только после resume|thaw <br />)))</p>]]></content>
			<author>
				<name><![CDATA[Харитон]]></name>
				<uri>https://linuxforum.ru/profile.php?id=627</uri>
			</author>
			<updated>2014-02-21T10:22:30Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=395641#p395641</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Скрипт после сна в Lubuntu]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=395638#p395638" />
			<content type="html"><![CDATA[<p>Создал скрипт, положил его в директорию /etc/pm/sleep.d/ . Но скрипт выполняется до сна и после сна. Вопрос - Как сделать, так чтобы скрипт запускался только после выхода пк из сна?</p>]]></content>
			<author>
				<name><![CDATA[asadula]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25995</uri>
			</author>
			<updated>2014-02-21T10:16:17Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=395638#p395638</id>
		</entry>
</feed>
