source:
gutenbach/debian/rm/cups-revert-perms
@
9a301c8
Last change on this file since 9a301c8 was 9a301c8, checked in by Jessica Hamrick <jhamrick@…>, 14 years ago | |
---|---|
|
|
File size: 307 bytes |
Rev | Line | |
---|---|---|
[4efd348] | 1 | #!/bin/sh |
2 | ||
3 | echo "Reverting changes to /etc/cups/cupsd.conf..." >&2 | |
4 | mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.bak | |
5 | touch /etc/cups/cupsd.conf | |
6 | ||
7 | sed '/# Begin configurations for gutenbach/,/# End configurations for gutenbach/ d' < /etc/cups/cupsd.conf.bak > /etc/cups/cupsd.conf | |
8 | ||
9 | rm /etc/cups/cupsd.conf.bak |
Note: See TracBrowser
for help on using the repository browser.