Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97665643
D40225.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
516 B
Referenced Files
None
Subscribers
None
D40225.diff
View Options
diff --git a/libexec/rc/rc.d/motd b/libexec/rc/rc.d/motd
--- a/libexec/rc/rc.d/motd
+++ b/libexec/rc/rc.d/motd
@@ -45,7 +45,8 @@
fi
T=`mktemp -t motd`
- uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > ${T}
+ uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\)$,\1 (\3) #\2,' \
+ -e 's,^\([^ ]*\) \([^ ]*\) \([^ ]*\) \([^ ]*\)$,\1 \2 (\4) \3,' > ${T}
cat "${TEMPLATE}" >> ${T}
install -C -o root -g wheel -m "${PERMS}" "$T" "${TARGET}"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Oct 1, 4:20 PM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13255357
Default Alt Text
D40225.diff (516 B)
Attached To
Mode
D40225: motd: Adapt with recent changes.
Attached
Detach File
Event Timeline
Log In to Comment