summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-10-19 22:40:06 -0500
committerAaron Griffin <aaronmgriffin@gmail.com>2008-10-19 22:40:06 -0500
commit61d0a83113c1b2234153b0a3b71f664c334680d8 (patch)
tree6b4a4cec3ae96e2c305a38e956b399ee04e83f9b /archiso/mkarchiso
parent6989ceb442dabe6fd9d49f338a4b74fe544be29e (diff)
downloadarchiso32-61d0a83113c1b2234153b0a3b71f664c334680d8.tar.xz
Code cleanup: usage and comments
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso10
1 files changed, 0 insertions, 10 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index a28c2b8..088df7e 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -41,8 +41,6 @@ done
shift $(($OPTIND - 1))
echo "ARGS: $@"
-[ $# -le 1 ] && usage 1
-
# do UID checking here so someone can at least get usage instructions
if [ "$EUID" != "0" ]; then
echo "error: This script must be run as root."
@@ -146,14 +144,6 @@ command_install () {
#TODO test for existance of images in work_dir
cp "${MOUNTFILE}" "${work_dir}/mounts"
-
- # always make an addon out of DEF_CONFIG_DIR
- #echo "Creating default overlay..."
- #if [ "${QUIET}" = "y" ]; then
- # mksquashfs "${DEF_CONFIG_DIR}" "${work_dir}/addons/overlay.sqfs" -noappend >/dev/null
- #else
- # mksquashfs "${DEF_CONFIG_DIR}" "${work_dir}/addons/overlay.sqfs" -noappend
- #fi
}
# command_squash path image