aboutsummaryrefslogtreecommitdiff
path: root/init.d/bootmisc
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-08-02 08:41:31 +0000
committerRoy Marples <roy@marples.name>2007-08-02 08:41:31 +0000
commit9174c25aab38ce0b943b6b0fbee451e9ae833057 (patch)
treef3eb6e56ef3ff16c5fd29d2b27ea6fc23f48dc0e /init.d/bootmisc
parent67b04947b38d661da413a4224561acaf1aa85373 (diff)
Ensure that /var/log exists too
Diffstat (limited to 'init.d/bootmisc')
-rwxr-xr-xinit.d/bootmisc2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/bootmisc b/init.d/bootmisc
index 86a15d57..3fefd92a 100755
--- a/init.d/bootmisc
+++ b/init.d/bootmisc
@@ -33,7 +33,7 @@ start() {
rm -f /.test.$$
# Ensure that our basic dirs exist
- for x in /var/lock /var/run /tmp ; do
+ for x in /var/lock /var/log /var/run /tmp ; do
if ! [ -d "${x}" ] ; then
if ! mkdir "${x}" ; then
eend 1 "failed to create needed directory ${x}"