Hello Stephan Wacker,
> while [ `find /var/spool/postfix/active -type f -mmin -1` ]
find returns success if it finds no files, so this will loop forever. Use [[
$(find blah | wc -l) -gt 0 ]]
--
Neil Bothwick
The world is a tragedy to those who feel, but a comedy to those who
think.(Horac
Hi,
I would rather suggest you put the code into
/etc/conf.d/local.stop
That script is executed before anything in /etc/init.d is stopped.
If you want to make sure the mail has left your system, you might
test if the outgoing mail directory is empty. In my case that is
/var/s
On Tuesday 26 June 2007 08:54:39, "Gentoo Voyager" <[EMAIL PROTECTED]>
wrote :
> Dear all,
> how to send automatic mail while halting the gentoo system. qmail server
> running on my gentoo box.
Maybe you can add a rc script to send an email at shutdown.
For example :
===/etc/init.d/not
3 matches
Mail list logo