clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since b8b43ee was cc73be6, checked in by Jim Gifford <clfs@…>, 16 years ago |
Fixed File Sizes. Order of Packages.ent. Fixed naming of Bootscripts
|
-
Property mode
set to
100755
|
File size:
312 bytes
|
Rev | Line | |
---|
[cc73be6] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | FILENAME=$1
|
---|
| 4 |
|
---|
| 5 | if [ "${FILENAME}" = "" ]; then
|
---|
| 6 | echo "To Calculate the proper file size use the following command."
|
---|
| 7 | echo "$0 filename"
|
---|
| 8 | exit 255
|
---|
| 9 | else
|
---|
| 10 | FILESIZE=$(stat -c%s ${FILENAME})
|
---|
| 11 | ((size=${FILESIZE}/1024))
|
---|
| 12 | FILEMD5SUM=$(md5sum ${FILENAME})
|
---|
| 13 |
|
---|
| 14 | echo "${size} KB"
|
---|
| 15 | echo "${FILEMD5SUM}"
|
---|
| 16 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.