X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage1%2Fbootscripts%2Finitlog;h=9cde2d0036f1147a8ae971807715346200e1c4ef;hb=6007645124befc70ffe2fae5500022b215d59ce6;hp=d9ba2b130daac43c0d025276d050706fea794b3e;hpb=6d3d50c17b24ef41f917f5776696eca810198092;p=hvlinux.git diff --git a/stage1/bootscripts/initlog b/stage1/bootscripts/initlog index d9ba2b1..9cde2d0 100755 --- a/stage1/bootscripts/initlog +++ b/stage1/bootscripts/initlog @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # initlog @@ -11,21 +11,21 @@ case "$1" in if [ ! -d ${INIT_LOG_PATH} ]; then boot_failure "Missing ${INIT_LOG_PATH} directory." fi - - mount -t tmpfs -o size=256k,nr_inodes=10,mode=0755 tmpfs ${INIT_LOG_PATH} && + + mount -t tmpfs -o mode=0755 tmpfs ${INIT_LOG_PATH} && touch ${INIT_LOG_FILE} ;; - + stop) umount ${INIT_LOG_PATH} ;; - + restart) $0 stop sleep 1 $0 start ;; - + *) echo "Usage: $0 {start|stop|restart}" exit ${EXIT_CODE_FAILURE}