diff options
author | Roy Marples <roy@marples.name> | 2007-08-02 08:41:31 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-08-02 08:41:31 +0000 |
commit | 9174c25aab38ce0b943b6b0fbee451e9ae833057 (patch) | |
tree | f3eb6e56ef3ff16c5fd29d2b27ea6fc23f48dc0e /init.d | |
parent | 67b04947b38d661da413a4224561acaf1aa85373 (diff) |
Ensure that /var/log exists too
Diffstat (limited to 'init.d')
-rwxr-xr-x | init.d/bootmisc | 2 |
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}" |