From: 有张纸 Date: Thu, 11 Jun 2015 04:50:50 +0000 (+0800) Subject: Update lxc-oracle.in X-Git-Tag: lxc-1.0.8~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78557b8ac2fb077b164f3561538b863a7a6eea2f;p=thirdparty%2Flxc.git Update lxc-oracle.in --- diff --git a/templates/lxc-oracle.in b/templates/lxc-oracle.in index daaa63d31..57a0d25f2 100644 --- a/templates/lxc-oracle.in +++ b/templates/lxc-oracle.in @@ -319,8 +319,8 @@ EOF fi if [ $container_release_major = "6" ]; then - sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm && mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.sysinit - sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm && mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.d/rc.sysinit + sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm \&\& mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.sysinit + sed -i 's|mount -n -o remount /dev/shm >/dev/null 2>&1$|mkdir -p /dev/shm \&\& mount -t tmpfs tmpfs /dev/shm # LXC|' $container_rootfs/etc/rc.d/rc.sysinit fi # setup console and tty[1-4] for login. note that /dev/console and