Disable the privacy notice page on first start.
This commit is contained in:
parent
f7c185ea27
commit
b18027ec44
4 changed files with 7 additions and 1 deletions
|
@ -6,6 +6,7 @@ set -u # Treat unset variables as an error.
|
|||
# Make sure some directories are created.
|
||||
mkdir -p /config/downloads
|
||||
mkdir -p /config/log/firefox
|
||||
mkdir -p /config/profile
|
||||
|
||||
# Generate machine id.
|
||||
if [ ! -f /etc/machine-id ]; then
|
||||
|
@ -13,6 +14,9 @@ if [ ! -f /etc/machine-id ]; then
|
|||
cat /proc/sys/kernel/random/uuid | tr -d '-' > /etc/machine-id
|
||||
fi
|
||||
|
||||
# Copy default preferences.
|
||||
[ -f /config/profile/prefs.js ] || cp /defaults/prefs.js /config/profile/prefs.js
|
||||
|
||||
# Verify the size of /dev/shm.
|
||||
SHM_SIZE_MB="$(df -m /dev/shm | tail -n 1 | tr -s ' ' | cut -d ' ' -f2)"
|
||||
if [ "$SHM_SIZE_MB" -eq 64 ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue