0092bfdf05
--HG-- extra : convert_revision : 6a8a4206a3a2b1d2d389d1c25a276f546109094d
19 lines
289 B
Plaintext
19 lines
289 B
Plaintext
#
|
|
# This script creates some required dirs.
|
|
#
|
|
|
|
case "${ACTION}" in
|
|
pre)
|
|
;;
|
|
post)
|
|
# Create some required dirs if don't exist.
|
|
if [ ! -d var/run/hald ]; then
|
|
mkdir -p var/run/hald
|
|
chown hal:hal var/run/hald
|
|
fi
|
|
if [ ! -d var/cache/hald ]; then
|
|
mkdir -p var/cache/hald
|
|
fi
|
|
;;
|
|
esac
|