Changeset 1042 in MondoRescue for branches/stable/tools/distro-env
- Timestamp:
- Jan 7, 2007, 12:10:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/tools/distro-env
r1041 r1042 65 65 fi 66 66 elif [ -e /etc/motd ]; then 67 grep -q FreeBSD /etc/motd67 head -1 /etc/motd | grep -q FreeBSD 68 68 if [ $? -eq 0 ]; then 69 69 export ddir="freebsd" 70 export dver=` awk '{print $2}' /etc/motd | cut -d- -f1`70 export dver=`head -1 /etc/motd | awk '{print $2}' /etc/motd | cut -d- -f1` 71 71 else 72 72 export ddir="unknown"
Note:
See TracChangeset
for help on using the changeset viewer.