triggers/openrc-service: touch /etc/fstab if it doesn't exist.
--HG-- extra : convert_revision : 8a4ece33abdf14edd1a418725b34a56c3ab70db6
This commit is contained in:
parent
111fcb4533
commit
2875261b09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue