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

Last change on this file since 1200 was 1200, checked in by price, 16 years ago

sipb-xen-console -> invirt-console-server

  • 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.