add bin/mib conf dual file

This commit is contained in:
2024-10-19 15:36:39 +08:00
parent 8feba9929d
commit 6156304aed
99 changed files with 66362 additions and 1 deletions

19
bin/chgDate Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
#when change the date of system,
#people always forget to do "hwclock --systohc"
#But system will use the hardware clock after reboot.
#so it is necessary to do it by this script.
#By Hewd 2004-02-04
if [ $# -ne 2 ] ; then
echo "Example:"
echo "chgdate \"2004-02-15 12:00:00\""
else
date --set="$1 $2"
echo "date --set=\"$1 $2\""
echo "hwclock --systohc"
date --set="$1 $2"
hwclock --systohc
fi