mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
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
1 changed files with 4 additions and 0 deletions
|
@ -28,6 +28,10 @@ run)
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Running trigger ${trigger}..."
|
||||||
|
|
||||||
|
[ ! -f etc/fstab ] && touch etc/fstab
|
||||||
|
|
||||||
set -- ${openrc_services}
|
set -- ${openrc_services}
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
if sbin/rc-service -e ${1}; then
|
if sbin/rc-service -e ${1}; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue