From: Willem Meier Date: Wed, 2 Jun 2010 13:18:17 +0000 (+0200) Subject: fixes to the ubuntu template X-Git-Tag: lxc-0.7.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b406adb506fff621e03be524b1529f31846b0f7;p=thirdparty%2Flxc.git fixes to the ubuntu template - Make /var/run not a tmpfs - Generate and update locales - Be less verbose - Remove apt-utils package Signed-off-by: Willem Meier Signed-off-by: Daniel Lezcano --- diff --git a/scripts/lxc-ubuntu.in b/scripts/lxc-ubuntu.in index 835da0a20..ab3dbb468 100644 --- a/scripts/lxc-ubuntu.in +++ b/scripts/lxc-ubuntu.in @@ -59,9 +59,9 @@ description "Container Upstart" start on startup script - rm -rf /var/run/* - /sbin/initctl emit stopped JOB=udevtrigger - /sbin/initctl emit started JOB=udev + rm -rf /var/run/* + /sbin/initctl emit stopped JOB=udevtrigger + /sbin/initctl emit started JOB=udev end script EOF @@ -257,7 +257,7 @@ EOF options=$(getopt -o hp:n:c -l help,path:,name:,clean -- "$@") if [ $? -ne 0 ]; then - usage $(basename $0) + usage $(basename $0) exit 1 fi eval set -- "$options" @@ -265,12 +265,12 @@ eval set -- "$options" while true do case "$1" in - -h|--help) usage $0 && exit 0;; - -p|--path) path=$2; shift 2;; + -h|--help) usage $0 && exit 0;; + -p|--path) path=$2; shift 2;; -n|--name) name=$2; shift 2;; -c|--clean) clean=$2; shift 2;; - --) shift 1; break ;; - *) break ;; + --) shift 1; break ;; + *) break ;; esac done