Michael,
This is what I do. I have a text file with the message to be displayed
to the end user and I use the following commands within a shell script:
#!/bin/sh
/bin/cat /backupdata/conf/popmsg.txt | /usr/bin/smbclient -U BackupPC -M $1
This works quite nicely.
Doug
Michael Pellegrino wrote:
Craig Barratt <cbarratt <at> users.sourceforge.net> writes:
#!/bin/csh -f
Finally, you might want to change it so the host name gets passed to
the script:
$Conf{DumpPreUserCmd} = '/usr/local/backuppc/smbnetsend $host';
and then use $1 (first argument) in your script to get the hostname.
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
