projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete GCC patch filtering
[hvlinux.git]
/
stage1
/
bootscripts
/
initlog
diff --git
a/stage1/bootscripts/initlog
b/stage1/bootscripts/initlog
index
d9ba2b1
..
9cde2d0
100755
(executable)
--- a/
stage1/bootscripts/initlog
+++ b/
stage1/bootscripts/initlog
@@
-1,4
+1,4
@@
-#!/bin/sh
+#!/bin/
ba
sh
# initlog
# initlog
@@
-11,21
+11,21
@@
case "$1" in
if [ ! -d ${INIT_LOG_PATH} ]; then
boot_failure "Missing ${INIT_LOG_PATH} directory."
fi
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}
;;
touch ${INIT_LOG_FILE}
;;
-
+
stop)
umount ${INIT_LOG_PATH}
;;
stop)
umount ${INIT_LOG_PATH}
;;
-
+
restart)
$0 stop
sleep 1
$0 start
;;
restart)
$0 stop
sleep 1
$0 start
;;
-
+
*)
echo "Usage: $0 {start|stop|restart}"
exit ${EXIT_CODE_FAILURE}
*)
echo "Usage: $0 {start|stop|restart}"
exit ${EXIT_CODE_FAILURE}