Last change
on this file since 1773 was
1201,
checked in by price, 16 years ago
|
rename invirt-console-server directory too
|
-
Property svn:executable set to
*
|
File size:
384 bytes
|
Rev | Line | |
---|
[1062] | 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 |
---|
Note: See
TracBrowser
for help on using the repository browser.