Update config files to work with Hardy
[invirt/packages/invirt-console.git] / debian / transform_bootmisc.sh.sipb-xen
1 #!/bin/bash
2 patch -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