source: trunk/packages/sipb-xen-console/debian/transform_bootmisc.sh.sipb-xen @ 1134

Last change on this file since 1134 was 1062, checked in by broder, 16 years ago

Update config files to work with Hardy

Switch them to use DEB_TRANSFORM_FILES in the process

  • Property svn:executable set to *
File size: 384 bytes
Line 
1#!/bin/bash
2patch -p0 -o /dev/fd/4 3<&0 4>&1 1>/dev/null <<EOF
3
4# Yes, I there's no context. But the lines being replaced are less
5# likely to change than the lines around them
6
7--- Ignored
8+++ /dev/fd/3
9@@ -42,3 +42,2 @@
10-       # Update motd
11-       uname -snrvm > /var/run/motd
12-       [ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
13+       # Do not update motd
14+       cp /etc/motd /var/run/motd
Note: See TracBrowser for help on using the repository browser.