0092bfdf05
--HG-- extra : convert_revision : 6a8a4206a3a2b1d2d389d1c25a276f546109094d
18 lines
289 B
Text
18 lines
289 B
Text
#
|
|
# 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
|