X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fbootscripts%2Finitlog;h=9cde2d0036f1147a8ae971807715346200e1c4ef;hb=d0a46aa214b68ecfc54e0ebae31063db90b4e3df;hp=71bc0dafde16e4532f0f3d088e054d958ff6d4e7;hpb=97b938a7a341fe0d45ba4f93ce9e785b2bdc182a;p=hvlinux.git diff --git a/stage1/bootscripts/initlog b/stage1/bootscripts/initlog index 71bc0da..9cde2d0 100755 --- a/stage1/bootscripts/initlog +++ b/stage1/bootscripts/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}