source: trunk/packages/invirt-console/debian/transform_bootmisc.sh.invirt @ 2512

Last change on this file since 2512 was 1813, checked in by broder, 16 years ago

Rename invirt-console-server source package to invirt-console

  • Property svn:executable set to *
File size: 384 bytes
RevLine 
[1062]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.