Changeset 1526 in MondoRescue for branches/2.2.4/contrib/mkcd/setup
- Timestamp:
- Jul 6, 2007, 12:55:59 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.4/contrib/mkcd/setup
r911 r1526 146 146 147 147 if uname -a | grep Knoppix > /dev/null ; then 148 echo "Knoppix LiveCD"149 return148 echo "Knoppix LiveCD" 149 return 150 150 fi 151 151 … … 156 156 fi 157 157 158 for fname in `find /etc -maxdepth 1 | grep release` /etc/issue.net; do158 for fname in `find /etc -maxdepth 1 | grep -E 'release|issue'` ; do 159 159 res=`cat $fname 2>/dev/null | grep -i "linux" | head -n1 | tr -s '\t' ' '` 160 160 [ "$res" = "" ] && res=`cat $fname |head -n1 | tr -s '\t' ' '`
Note:
See TracChangeset
for help on using the changeset viewer.