Advertisement
Lyend

Untitled

Feb 6th, 2019
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.46 KB | None | 0 0
  1. # IMPORTANT:
  2. # - Modifications to /boot/dietpi.txt will not be preserved on reboot.
  3. # - Please ensure you edit from the DietPi-RAMdisk location: /DietPi/dietpi.txt
  4.  
  5. # NB: This is intended for advanced users, unless you know what you are doing, do not edit this file. Please use the DietPi programs instead.
  6. # NB: Do not remove uncommented lines, as the items are scraped by DietPi programs, on demand.
  7.  
  8. #------------------------------------------------------------------------------------------------------
  9. # D I E T - P I
  10. # DietPi-Automation settings, applied on the 1st boot of DietPi, ONCE
  11. #------------------------------------------------------------------------------------------------------
  12.  
  13. ##### Networking Options #####
  14.  
  15. # If both Ethernet and Wifi are enabled, Wifi will take priority and Ethernet will be disabled.
  16. # 1=enabled
  17. AUTO_SETUP_NET_ETHERNET_ENABLED=1
  18. AUTO_SETUP_NET_WIFI_ENABLED=0
  19.  
  20. # If using WiFi, please edit the following to pre-enter creds /boot/dietpi-wifi.txt
  21.  
  22. # Enter your Static Network details below, if applicable.
  23. #AUTO_SETUP_NET_USESTATIC=0
  24. #AUTO_SETUP_NET_STATIC_IP=192.168.0.100
  25. AUTO_SETUP_NET_STATIC_MASK=255.255.255.0
  26. #AUTO_SETUP_NET_STATIC_GATEWAY=192.168.0.1
  27. AUTO_SETUP_NET_STATIC_DNS=8.8.8.8
  28.  
  29. # Hostname
  30. AUTO_SETUP_NET_HOSTNAME=cogger
  31.  
  32. # Force ethernet speeds
  33. # NB: This is mainly aimed at Pine A64's which may have an HW issue that causes unstable 1Gbit link.
  34. # 0=automatic speed | 10 = 10mbit, 100 = 100mbit etc
  35. AUTO_SETUP_NET_ETH_FORCE_SPEED=0
  36.  
  37. ##### Misc Options #####
  38.  
  39. # Size of swapfile to generate (MB)
  40. # 0=Disabled | 1=auto (2GB-RAM = size) | 2+=manual
  41. AUTO_SETUP_SWAPFILE_SIZE=1
  42. # Optional swapfile location
  43. AUTO_SETUP_SWAPFILE_LOCATION=/var/swap
  44.  
  45. # Unmask (enable) systemd-logind service, which is masked by default on DietPi
  46. AUTO_UNMASK_LOGIND=0
  47.  
  48. ##### Software Automation Options #####
  49.  
  50. # Fully automate the installation
  51. # 1=Automated installation with no user inputs.
  52. # It is HIGHLY recommended to also set CONFIG_BOOT_WAIT_FOR_NETWORK=2, to force infinite wait for network connection during boot, preventing no connection errors due to timeout.
  53. AUTO_SETUP_AUTOMATED=1
  54. CONFIG_BOOT_WAIT_FOR_NETWORK=2
  55.  
  56. # Global Password to be applied for the system
  57. # Requires AUTO_SETUP_AUTOMATED=1
  58. # Affects user "root" and "dietpi" login passwords, and, all software installed by dietpi-software, that requires a password
  59. # eg: MySQL, Transmission, Deluge etc.
  60. # WARN: Passwords with the any of the following characters are not supported: \"$
  61. # WARN: Do NOT change this entry after 1st run setup of DietPi has been completed. It is always scraped by dietpi-software.
  62. AUTO_SETUP_GLOBAL_PASSWORD=dietpi
  63.  
  64. # DietPi-Software to automatically install. | requires AUTO_SETUP_AUTOMATED=1
  65. # For a list of software index's (ID's), run '/DietPi/dietpi/dietpi-software list'
  66. # No limit on number entries, add as many as you need and uncomment the line.
  67. # DietPi will automatically install all pre-reqs (eg: ALSA/XSERVER for desktops etc)
  68. # - Examples:
  69.  
  70. # AUTO_SETUP_INSTALL_SOFTWARE_ID=104 # dropbear ssh
  71. AUTO_SETUP_INSTALL_SOFTWARE_ID=103 # ramlog metal io
  72. AUTO_SETUP_INSTALL_SOFTWARE_ID=17 # git client
  73.  
  74.  
  75. # DietPi-Software Choice System
  76. # SSH Server Selection:
  77. # 0=none
  78. # -1=dropbear
  79. # -2=opensshserver
  80.  
  81. AUTO_SETUP_SSH_SERVER_INDEX=-1
  82.  
  83. # File Server Selection:
  84. # 0=none/manual
  85. # -1=proftp
  86. # -2=samba
  87. AUTO_SETUP_FILE_SERVER_INDEX=0
  88.  
  89. # Logging Mode Selection:
  90. # 0=none/manual
  91. # -1=ramlog 1h clear
  92. # -2=ramlog 1h save clear
  93. # -3=logrotate + rsyslog
  94. AUTO_SETUP_LOGGING_INDEX=-3
  95. # RAMlog max tmpfs size (MB). 50MB should be fine for single use. 200MB+ for heavy webserver and access log use etc.
  96. AUTO_SETUP_RAMLOG_MAXSIZE=20
  97.  
  98. # Webserver Preference Selection:
  99. # NB: This will get ignored, if you have manually selected any WEBSERVER_Stack.
  100. # 0=Apache2
  101. # -1=Nginx
  102. # -2=Lighttpd
  103. # AUTO_SETUP_WEB_SERVER_INDEX=-2
  104.  
  105. # DietPi-Autostart | Requires AUTO_SETUP_AUTOMATED=1
  106. # After installation is completed, which program should the system boot to?
  107. # 0=Console 7=Console+auto root login | 1=Kodi 2=Desktops (LXDE/MATE etc) 5=DietPi-Cloudshell 6=Uae4ARM (Fastboot) 8=Uae4ARM (standard boot) 9=dxx-rebirth
  108. AUTO_SETUP_AUTOSTART_TARGET_INDEX=0
  109.  
  110. # Language/Regional settings | Requires AUTO_SETUP_AUTOMATED=1
  111. # Timezone eg: Europe/London America/New_York | Full list (TZ*): https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  112. AUTO_SETUP_TIMEZONE=America/Chicago
  113. # Locale eg: en_GB.UTF-8 / en_US.UTF-8 etc. One entry ONLY.
  114. AUTO_SETUP_LOCALE=en_US.UTF-8
  115. # Keyboard Layout eg: gb us de fr
  116. AUTO_SETUP_KEYBOARD_LAYOUT=us
  117.  
  118. # Custom Script (pre-networking and pre-DietPi install) | Runs before DietPi installation and networking
  119. # Allows you to automatically execute a custom script before networking and DietPi installation is started
  120. # Option 1 = Copy your script to /boot/Automation_Custom_PreScript.sh and it will be executed automatically.
  121. # NB: Executed script log /var/tmp/dietpi/logs/dietpi-automation_custom_prescript.log
  122.  
  123. # Custom Script (post-networking and post-DietPi install) | Runs after DietPi installation is completed
  124. # Allows you to automatically execute a custom script at the end of DietPi installation.
  125. # Option 1 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.
  126. # Option 2 = Host your script online, then use AUTO_SETUP_CUSTOM_SCRIPT_EXEC=http://myweb.com/myscript.sh , it will be downloaded and executed automatically. | 0=disabled
  127. # NB: Executed script log /var/tmp/dietpi/logs/dietpi-automation_custom_script.log
  128. AUTO_SETUP_CUSTOM_SCRIPT_EXEC=0
  129.  
  130. #Disable HDMI (and GPU/VPU where supported) output for supported devices:
  131. # RPi | Odroid C1 | Odroid C2
  132. AUTO_SETUP_HEADLESS=1
  133.  
  134. #------------------------------------------------------------------------------------------------------
  135. # D I E T - P I
  136. # DietPi-Config settings
  137. #------------------------------------------------------------------------------------------------------
  138.  
  139. #Cpu Governor | ondemand | powersave | performance | conservative
  140. CONFIG_CPU_GOVERNOR=ondemand
  141. CONFIG_CPU_USAGE_THROTTLE_UP=50
  142.  
  143. #CPU Frequency Limits
  144. # NB: Intel CPU's use a percentage value (%) from 0-100 (eg: 55)
  145. # NB: All other devices must use a specific MHz value (eg: 1600)
  146. # Limit the MAX CPU frequency for all cores | Disabled=disabled
  147. CONFIG_CPU_MAX_FREQ=Disabled
  148. # Limit the MIN CPU frequency for all cores | Disabled=disabled
  149. CONFIG_CPU_MIN_FREQ=Disabled
  150.  
  151. # Disable Intel-based turbo/boost stepping. This flag should not be required, setting <100% MAX frequency should disable Turbo on Intel CPU's.
  152. CONFIG_CPU_DISABLE_TURBO=0
  153.  
  154. #Min value 10000 microseconds (10ms)
  155. CONFIG_CPU_ONDEMAND_SAMPLE_RATE=25000
  156.  
  157. #sampling rate * down factor / 1000 = Milliseconds (40 = 1000ms when sampling rate is 25000)
  158. CONFIG_CPU_ONDEMAND_SAMPLE_DOWNFACTOR=80
  159.  
  160. #Proxy settings | System-wide proxy settings. Use dietpi-config > networking options to apply.
  161. # NB: Do not modify, you must use dietpi-config to configure/set options
  162. #CONFIG_PROXY_ENABLED=0
  163. #CONFIG_PROXY_ADDRESS=MyProxyServer.com
  164. #CONFIG_PROXY_PORT=8080
  165. #CONFIG_PROXY_USERNAME=
  166. #CONFIG_PROXY_PASSWORD=
  167.  
  168. #Delay boot until network is established: 0=disabled | 1=10 second wait max (default) | 2=infinite wait
  169. CONFIG_BOOT_WAIT_FOR_NETWORK=1
  170.  
  171. #DietPi checks for updates (allows dietpi to check for updates on a daily basis and boot using a <1kb file download.)
  172. CONFIG_CHECK_DIETPI_UPDATES=1
  173. # Optional: Automatically update DietPi when updates are available. | requires CONFIG_CHECK_DIETPI_UPDATES=1
  174. CONFIG_AUTO_DIETPI_UPDATES=1
  175.  
  176. #NTPD Update Mode: 0=disabled | 1=boot only | 2=boot + daily | 3=boot + hourly | 4=Daemon + Drift
  177. CONFIG_NTP_MODE=2
  178.  
  179. #WiFi country code. 2 character value (eg GB US DE JP): https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
  180. CONFIG_WIFI_COUNTRY_CODE=US
  181.  
  182. #Serial Console: Set to 0 if you do not require serial console.
  183. CONFIG_SERIAL_CONSOLE_ENABLE=1
  184.  
  185. #Soundcard
  186. CONFIG_SOUNDCARD=none
  187.  
  188. #LCD Panel addon
  189. # NB: Do not modify, you must use dietpi-config to configure/set options
  190. CONFIG_LCDPANEL=none
  191.  
  192. #IPv6
  193. CONFIG_ENABLE_IPV6=1
  194.  
  195. #Prefer IPv4 with APT and wget, NB: This has no effect if IPv6 is disabled anyway!
  196. CONFIG_PREFER_IPV4=1
  197.  
  198. #APT mirrors which are applied to /etc/apt/sources.list | Values here will also be applied during 1st run setup
  199. # Raspbian = https://www.raspbian.org/RaspbianMirrors
  200. # Debian = https://www.debian.org/mirror/official#list
  201. CONFIG_APT_RASPBIAN_MIRROR=http://raspbian.raspberrypi.org/raspbian
  202. CONFIG_APT_DEBIAN_MIRROR=https://deb.debian.org/debian/
  203.  
  204. #NTPD mirror, applied to /etc/ntp.conf
  205. # For a full list, please see http://www.pool.ntp.org
  206. # Please remove the initial integer and full stop from the value (removing 0.). eg: debian.pool.ntp.org
  207. CONFIG_NTP_MIRROR=debian.pool.ntp.org
  208.  
  209. #------------------------------------------------------------------------------------------------------
  210. # D I E T - P I
  211. # DietPi-Software settings
  212. #------------------------------------------------------------------------------------------------------
  213. #Enter your EmonCMS.org write API key here. It will be applied automatically during EmonPi/Hub installation.
  214. # eg: SOFTWARE_EMONHUB_APIKEY=b4dfmk2o203mmxx93a
  215. SOFTWARE_EMONHUB_APIKEY=
  216.  
  217. #VNC Server Options
  218. #SOFTWARE_VNCSERVER_WIDTH=1280
  219. #SOFTWARE_VNCSERVER_HEIGHT=720
  220. #SOFTWARE_VNCSERVER_DEPTH=16
  221. #SOFTWARE_VNCSERVER_DISPLAY_INDEX=1
  222. #SOFTWARE_VNCSERVER_SHARE_DESKTOP=0
  223.  
  224. #Optional username for ownCloud/Nextcloud admin account, the default is 'admin'. Applied during installation.
  225. #SOFTWARE_OWNCLOUD_NEXTCLOUD_USERNAME=admin
  226.  
  227. #Optional data directory for ownCloud, default is '/mnt/dietpi_userdata/owncloud_data'. Applied during installation.
  228. # This option is for advanced users. For full compatibility, please keep this options defaults, and, use dietpi-drive_manager to move the DietPi user data location.
  229. # SOFTWARE_OWNCLOUD_DATADIR=/mnt/dietpi_userdata/owncloud_data
  230.  
  231. #Optional data directory for Nextcloud, default is '/mnt/dietpi_userdata/nextcloud_data'. Applied during installation.
  232. # This option is for advanced users. For full compatibility, please keep this options defaults, and, use dietpi-drive_manager to move the DietPi user data location.
  233. # SOFTWARE_NEXTCLOUD_DATADIR=/mnt/dietpi_userdata/nextcloud_data
  234.  
  235. #Wifi Hotspot
  236. SOFTWARE_WIFI_HOTSPOT_SSID=DietPi-HotSpot
  237. # minimum of 8 characters
  238. #SOFTWARE_WIFI_HOTSPOT_KEY=dietpihotspot
  239. #SOFTWARE_WIFI_HOTSPOT_CHANNEL=3
  240.  
  241. #Xorg options
  242. # DPI 96(default) 120(+25%) 144(+50%) 168(+75%) 192(+100%)
  243. SOFTWARE_XORG_DPI=96
  244.  
  245. #Chromium Options
  246. #SOFTWARE_CHROMIUM_RES_X=1280
  247. #SOFTWARE_CHROMIUM_RES_Y=720
  248. #SOFTWARE_CHROMIUM_AUTOSTART_URL=https://google.com
  249.  
  250. #------------------------------------------------------------------------------------------------------
  251. # D I E T - P I
  252. # Dev settings
  253. #------------------------------------------------------------------------------------------------------
  254. DEV_GITBRANCH=master
  255. DEV_GITOWNER=Fourdee
  256.  
  257. #------------------------------------------------------------------------------------------------------
  258. # D I E T - P I
  259. # Settings, automatically added by dietpi-update
  260. #------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement