From: Rachid Koucha <47061324+Rachid-Koucha@users.noreply.github.com> Date: Fri, 10 May 2019 19:28:35 +0000 (+0200) Subject: Option --busybox-path instead of --bbpath X-Git-Tag: lxc-3.2.0~57^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f0fb855f83eb996355b96f25dd3fea0589009c1;p=thirdparty%2Flxc.git Option --busybox-path instead of --bbpath As suggested during the review. Signed-off-by: Rachid Koucha --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index 22cf27835..0d5d9ccf1 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -279,13 +279,13 @@ LXC internal arguments: BUSYBOX template specific arguments: - [ --bbpath ]: busybox pathname (default: ${BUSYBOX_EXE}) + [ --busybox-path ]: busybox pathname (default: ${BUSYBOX_EXE}) EOF return 0 } -if ! options=$(getopt -o hp:n: -l help,rootfs:,path:,name:,mapped-uid:,mapped-gid:,bbpath: -- "$@"); then +if ! options=$(getopt -o hp:n: -l help,rootfs:,path:,name:,mapped-uid:,mapped-gid:,busybox-path: -- "$@"); then usage exit 1 fi @@ -300,7 +300,7 @@ do --rootfs) rootfs=$2; shift 2;; --mapped-uid) LXC_MAPPED_UID=$2; shift 2;; --mapped-gid) LXC_MAPPED_GID=$2; shift 2;; - --bbpath) BUSYBOX_EXE=$2; shift 2;; + --busybox-path) BUSYBOX_EXE=$2; shift 2;; --) shift 1; break ;; *) break ;; esac