13 lines
302 B
Bash
13 lines
302 B
Bash
|
#! /bin/bash
|
||
|
|
||
|
sed -i "s|NC_PASSWORD|$NC_PASSWORD|g" .config/rclone/rclone.conf
|
||
|
sed -i "s|NC_MUSIC_DIR_URL|$NC_MUSIC_DIR_URL|g" .config/rclone/rclone.conf
|
||
|
sed -i "s|NC_USERNAME|$NC_USERNAME|g" .config/rclone/rclone.conf
|
||
|
|
||
|
rygel &
|
||
|
rclone mount --vfs-cache-mode full audio: /root/audio &
|
||
|
|
||
|
wait -n
|
||
|
exit $?
|
||
|
|