From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Gennerat Date: Thu, 05 Sep 2002 15:28:17 +0000 Subject: Start and Stop Samba Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org My wish is to start Samba when the network card is inserted or when power resumes. And stop Samba before standby, or if the network card is removed, as it was done by cardmgr and /etc/pcmcia/network script. I have added this in net.agent: unregister) exec /etc/init.d/smb stop ;; and got this: Sep 5 17:06:27 bcv66vbb /etc/hotplug/pci.agent: PCI remove event not supported Sep 5 17:06:27 bcv66vbb smb: smbd shutdown failed Sep 5 17:06:28 bcv66vbb smb: nmbd shutdown failed What is wrong ? For smb start, I do not see any error message, but smb is not started What should be the correct method ? ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel