Bug 4873 - Ensure that the required directories exist on init
authorJohn Seymour <John.Seymour@nal.gov.au>
Fri, 22 Jul 2011 03:08:40 +0000 (15:08 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 28 Jul 2011 02:05:58 +0000 (14:05 +1200)
commitfb347c97ac996a5d50559bee62b618ad0542b947
tree01e2c1ea396a94ef26f3e85de33ba85c63ef3633
parentb9cc6b65a5542884b1bf1607e69cc1f85c91d327
Bug 4873 - Ensure that the required directories exist on init

As systems (Ubuntu already, Debian testing is doing it too) move to
ramdisking /var/run and /var/lock, or otherwise clearing them on boot,
we need to ensure that they're there when we need them. This patch
autocreates any directories that are missing when the init script runs.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
debian/koha-common.init