Changeset 1697
- Timestamp:
- 09/02/04 18:01:01 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/mailandpopup.sh
r1527 r1697 39 39 # 40 40 # Launch WinPopup on user's host (may need a real Samba or NT domain) 41 echo "$UTF8MESSAGE" | smbclient -M "$UNAME" 2>&1 >/dev/null 41 # In some cases the username does not suffice for smbclient to send a message; 42 # we must also supply the IP address. This will use smbstatus to get all IPs 43 # where the user is logged in and send the message there: 44 IPS=`smbstatus -b -u $UNAME | grep '(' | cut -d'(' -f 2 | cut -d')' -f 1` 45 for i in $IPS; do 46 echo $UTF8MESSAGE | smbclient -M "$UNAME" -I $i 2>&1 >/dev/null; 47 done -
pykota/trunk/NEWS
r1696 r1697 24 24 - 1.20alpha6 : 25 25 26 - Improved mailandpopup.sh script. 27 26 28 - Small fixes for LPRng. 27 29