Changeset f014bc4 for gutenbach/debian
- Timestamp:
- Feb 26, 2009, 1:14:18 AM (16 years ago)
- Branches:
- master, debian, mac, no-cups, nodebathena, web
- Children:
- c2f6180
- Parents:
- b5d15a0
- git-author:
- Edward Z. Yang <edwardzyang@…> (02/26/09 01:14:18)
- git-committer:
- Edward Z. Yang <edwardzyang@…> (02/26/09 01:14:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gutenbach/debian/lib/sipbmp3-filter
rb5d15a0 rf014bc4 99 99 open(STATUS, '>', '/var/run/sipbmp3/status') or die("Can't open status file /var/run/sipbmp3/status"); 100 100 101 # SIGHUP handler 102 sub clear_status { 103 # Possible race condition if the previous status is still going 104 open(STA, '>', '/var/run/sipbmp3/status'); 105 close(STA); 106 open(ZEPH, '|/usr/athena/bin/zwrite -d -n -c '. $zephyr_class .' -i '. 107 'sipbmp3@'.$host.' -s "SIPB LPR music spooler"'); 108 print(ZEPH "Playback aborted.\n"); 109 close(ZEPH); 110 die; 111 } 112 $SIG{HUP} = \&clear_status; 113 101 114 # So, the file we're currently processing is "-d/-e". 102 115
Note: See TracChangeset
for help on using the changeset viewer.