triggers/openrc-service: touch /etc/fstab if it doesn't exist.

--HG--
extra : convert_revision : 8a4ece33abdf14edd1a418725b34a56c3ab70db6
This commit is contained in:
Juan RP 2009-05-05 00:47:58 +02:00
parent 111fcb4533
commit 2875261b09

View file

@ -28,6 +28,10 @@ run)
exit 1
fi
echo "Running trigger ${trigger}..."
[ ! -f etc/fstab ] && touch etc/fstab
set -- ${openrc_services}
while [ $# -gt 0 ]; do
if sbin/rc-service -e ${1}; then