8 lines
178 B
Bash
8 lines
178 B
Bash
#!/bin/sh
|
|
|
|
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
|
|
mkdir $SNAP_USER_DATA/etc/
|
|
cp -R $SNAP/etc/monerod.conf $SNAP_USER_DATA/etc/monerod.conf
|
|
fi
|
|
|
|
exec "$SNAP/bin/monerod" "$@"
|