Moved all default preferences to the same location.
This commit is contained in:
parent
e1d32c30f2
commit
b1b68dcfea
4 changed files with 10 additions and 17 deletions
|
@ -1,7 +0,0 @@
|
|||
// Disable the privacy notice page.
|
||||
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||
// Prevent closing Firefox when closing the last tab.
|
||||
user_pref("browser.tabs.closeWindowWithLastTab", false);
|
||||
// Disable confirmation before quitting with Ctrl+Q. Needed to allow Firefox
|
||||
// to quit cleanly when container is shutted down.
|
||||
user_pref("browser.warnOnQuitShortcut", false);
|
|
@ -14,9 +14,6 @@ if [ ! -f /config/machine-id ]; then
|
|||
cat /proc/sys/kernel/random/uuid | tr -d '-' > /config/machine-id
|
||||
fi
|
||||
|
||||
# Copy default preferences.
|
||||
[ -f /config/profile/prefs.js ] || cp /defaults/prefs.js /config/profile/prefs.js
|
||||
|
||||
# Clean/optimize Firefox databases.
|
||||
#if [ -d /config/.mozilla/firefox ] && [ -d /config/profile ]; then
|
||||
# [ -f /config/.mozilla/firefox/profiles.ini ] || cp /defaults/profiles.ini /config/.mozilla/firefox/
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// Default download directory.
|
||||
pref("browser.download.dir", "/config/downloads");
|
||||
pref("browser.download.folderList", 2);
|
||||
// Disable the privacy notice page.
|
||||
pref("toolkit.telemetry.reportingpolicy.firstRun", false);
|
||||
// Prevent closing Firefox when closing the last tab.
|
||||
pref("browser.tabs.closeWindowWithLastTab", false);
|
||||
// Disable confirmation before quitting with Ctrl+Q. Needed to allow Firefox
|
||||
// to quit cleanly when container is shutted down.
|
||||
pref("browser.warnOnQuitShortcut", false);
|
Loading…
Add table
Add a link
Reference in a new issue