-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# Exit on error | ||
# If something goes wrong just stop. | ||
# it allows the user to see issues at once rather than having | ||
# scroll back and figure out what went wrong. | ||
set -e | ||
|
||
|
||
# Create a ramdisk | ||
echo "tmpfs /ramdisk tmpfs rw,nodev,nosuid,size=20M 0 0" >> "/etc/fstab" | ||
ln -s /ramdisk/mycroft/audio.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/bus.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/gui.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/ovos.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/ovos_shell.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/phal_admin.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/phal.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/skills.log /home/$USER/.local/state/mycroft/ | ||
ln -s /ramdisk/mycroft/voice.log /home/$USER/.local/state/mycroft/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=Splash screen | ||
DefaultDependencies=no | ||
After=local-fs.target | ||
|
||
[Service] | ||
ExecStart=/usr/bin/fbi -d /dev/fb0 --noverbose -a /opt/ovos/splashscreen.png | ||
StandardInput=tty | ||
StandardOutput=tty | ||
|
||
[Install] | ||
WantedBy=sysinit.target |