Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ DietPi-RAMdisk | Replace with vmtouch to use native file system caching instead of tmpfs for DietPi scripts and config files. /DietPi is symlinked to /boot on update for backwards-compatibility, but on new images /boot/dietpi path must be used from now on. + Network | Disable power management for network devices only, assure via SUBSYSTEM. Run it on actual added WiFi adapter instead of fixed wlan0 via "%k", which matches KERNEL name. + DietPi-Run_NTPD | Do not create .ntpd_override flag file. We never handle/use this currently. Re-add when we implement some special override handling. + DietPi-Launcher | Prompt for user action if any program exits with exit code, so error messages can be reviewed + DietPi-Patch | Schedule DietPi-Update restart, required for all pre-v6.29 systems due to DietPi-RAMdisk removal + DietPi-Patch | Failsafe: Migrate Fourdee => MichaIng Git owner on every patch, if found, so it will be effective after first update. Else DietPi-Update will override ".version" entry after incremental patches and new owner becomes effective only after another DietPi-Update. + DietPi-Software | RPi Cam Control: Align service script syntax with our other bash scripts, remove non-Debian (Ubuntu?) compatibility and remove 4 seconds sleep before calling "raspimjpeg" (It makes sense to wait for it being fully initialised before calling the PHP schedule script, but no point in waiting before calling the very first daemon.) + DietPi-Set_software | Verify_DietPi_Txt: Pre-v6.29 workaround + DietPi-Set_software | Verify_DietPi_Txt: Pull new dietpi.txt from repo of chosen Git owner instead of fixed "MichaIng" + DietPi-Set_software | Verify_DietPi_Txt: Remove really all empty and commented lines from dietpi.txt before scraping it, including those with leading white space characters. Scrape lines in raw format to avoid having backslashes interpreted as escape character. + System | Add DietPi runtime dir for temporary cross-script flag and info files + DietPi-Update | Use new /run/dietpi runtime dir for update available flag + DietPi-Update | Download tarball update archive: less traffic, faster extraction + DietPi-Update | Use curl instead of wget, which executes faster, and since we might to drop wget dependency completely. It can be used in combination with G_RUN_CMD when using "-o" option instead of ">" STDOUT redirect + DietPi-Update | Minor coding + DietPi-Cloudshell | Minor coding, especially do not unset local arrays/variables before the function ends and do not unset anything before exiting the script, since both has no practical effect + DietPi-Run_NTPD | Use new /run/dietpi runtime dir to log exit status + DietPi-Obtain_network_details | Use new /run/dietpi runtime dir to store network info. This is created at boot, hence we can set permissions once there + DietPi-WiFi-Monitor | Remove doubled obtain_network_details call + adapter check, which is already done as PreStartExec in the systems unit, which allows to see the service failing on console when calling "systemctl (re)start dietpi-wifi-monitor". Adapter is checked again when ping fails to exit when adapter has been unplugged, got power loss or similar. + DietPi-WiFi-Monitor | Do not try to ping if no default gateway is assigned, assume lost connection then as well. NB: We currently do not allow WiFi monitor on interfaces with no default gateway assigned (local network only, WiFi direct or where this might be possible?), since we cannot know any local IP to ping then. + DietPi-Boot | Do not manually ifup network interfaces anymore. The udev rules that start [email protected] should work reliable for hotplug interfaces. We anyway wait, hence we can include waiting until the network interfaces have been brought up by native ifupdown services. Another reason is that the current method might bring up the wrong interfaces, since .network might not even exit or from last shutdown might not contain the interfaces that are configured in /etc/network/interfaces. The latter is what we should scrape in this case we want or need to re-implement it. Last but not least, .network is not boot-persistent anymore 😉. + DietPi-Boot | There is no point in running run_ntpd as background service, since it is the last command and systemd does not allow any follow-up service to start before as well every background process has finished. + DietPi-Banner | Do not call obtain_network_details, which is done within DietPi-Boot and DietPi-Login already. If user does not actively delete the file, it must be present. This also allows to skip making it world-writeable. + DietPi-Bugreport | Include new runtime dir into upload archive + DietPi-Bugreport | Fix boot/kernel config file names + DietPi-Bugreport | Add APT preferences files and simplify *.d/ drop-in config inclusions + DietPi-NordVPN | Wait for network-online.target, which is now available on all supported distro versions + DietPi-Globals | Check if G_PROGRAM_NAME has a non-empty string assigned, instead of checking if it is declared only, before using it in titles etc. + DietPi-Globals | Move G_FP_LOG_APT to /tmp tmpfs, since it is removed by G_ERROR_HANDLER in every case anyway, after in case printing error log to console. More persistent log can be as well found in /etc/apt/ and /etc/dpkg.log. + DietPi-Software | HAProxy: Update sysvinit service to comply with current DietPi and Debian versions and our current code standards. ToDo: There is a systemd unit included with the package, hence is our sysvinit service even in use? + DietPi-PREP | Download DietPi archive as tarball + DietPi-Patch | Add an info before terminating obsolete DietPi-Update parent instance, else the "Terminated" print might users feel rattled: #3402 (comment)
- Loading branch information