home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
host-198-236-40-254.wlwv.k12.or.us
/
host-198-236-40-254.wlwv.k12.or.us.tar
/
host-198-236-40-254.wlwv.k12.or.us
/
tsv
/
BareMetalInstall.iso
/
tools
/
dir2mo
< prev
next >
Wrap
Text File
|
2013-12-03
|
492b
|
21 lines
#!/bin/bash
# convert directory tree into .MO compressed file
# which can be used as a LiveCD module
#
# Author: Tomas M. <http://www.linux-live.org>
#
PATH=.:$(dirname $0):/usr/lib:$PATH
. liblinuxlive || exit 1
if [ ! -d "$1" -o "$2" = "" ]; then
echo
echo "Convert directory tree into .MO compressed module"
echo "usage: $0 source_directory output_file.mo"
exit 1
fi
rm -f "$2"
create_module "$1" "$2"
if [ $? != 0 ]; then echo "error building compressed image"; exit 1; fi