source: sipbmp3/debian/rm/revert_lpd.conf @ 331360d

debianmacno-cupsnodebathenaweb
Last change on this file since 331360d was 331360d, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago

Added debconf implementation and clean uninstall, but the actual functionality of sipbmp3 seems to be broken - it will send a zephyr and say it's playing the song, and then say "playback completed sucessfully", but both zephyrs come at the ~same time and there is no sound output.

  • Property mode set to 100755
File size: 349 bytes
Line 
1#!/bin/sh -e
2
3echo "Reverting changes to /etc/lprng/lpd.conf..." >&2
4mv /etc/lprng/lpd.conf /etc/lprng/lpd.conf.bak
5touch /etc/lprng/lpd.conf
6while read line; do
7    lpd_listen_port=$(echo "$line" | grep ^lpd_listen_port=515$ || true)
8    if [ -z "$lpd_listen_port" ]; then
9        echo "$line" >> /etc/lprng/lpd.conf
10    fi
11done < /etc/lprng/lpd.conf.bak
Note: See TracBrowser for help on using the repository browser.