From 2875261b09b13c4059e9cb7dcd6cece665c5bc51 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 5 May 2009 00:47:58 +0200 Subject: [PATCH] triggers/openrc-service: touch /etc/fstab if it doesn't exist. --HG-- extra : convert_revision : 8a4ece33abdf14edd1a418725b34a56c3ab70db6 --- triggers/openrc-service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/triggers/openrc-service b/triggers/openrc-service index bdb92ec18d..74481f2f25 100755 --- a/triggers/openrc-service +++ b/triggers/openrc-service @@ -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