Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/share/initramfs-tools/hooks/ |
Upload File : |
#!/bin/sh -e # initramfs hook for fixing broken rtc clock # without battery PREREQ="udev" # Output pre-requisites prereqs() { echo "$PREREQ" } case "$1" in prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/hook-functions # We use the full dumpe2fs because we basically get it for "free" # if we're already on extN due to e2fsck pulling in all the libs: copy_exec /sbin/dumpe2fs /sbin