grub-btrfs-runit: use posix shell for the service
This commit is contained in:
parent
8e4286fc53
commit
0cc5823111
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ exec 2>&1
|
||||||
|
|
||||||
if [ -d "${SNAPSHOTS_PATH}" ]
|
if [ -d "${SNAPSHOTS_PATH}" ]
|
||||||
then
|
then
|
||||||
exec wendy ${OPTS} -m 960 -w "${SNAPSHOTS_PATH}" bash -c \
|
exec wendy ${OPTS} -m 960 -w "${SNAPSHOTS_PATH}" sh -c \
|
||||||
'if [ -s "/boot/grub/grub-btrfs.cfg" ]; then /etc/grub.d/41_snapshots-btrfs; else update-grub; fi'
|
'if [ -s "/boot/grub/grub-btrfs.cfg" ]; then /etc/grub.d/41_snapshots-btrfs; else update-grub; fi'
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue