This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Script: fetch-ntp | |
# | |
# script to get time from time server as quickly as possible | |
# | |
# this works best when the router is NOT the NTP server for your LAN, | |
# that is, the IP address you are pointing at here is the same IP | |
# address listed in the Administration -> System -> NTP Server | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# File description below copied from https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts#post-mount | |
# | |
# Called just after a partition got mounted. The script is passed the mount point (the filesystem path where | |
# the partition was mounted, e.g. /tmp/mnt/OPT) as an argument which can be used in the script using $1. | |
# | |
# If using Diversion (https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/), | |
# shell history (sh) should be turned off when using this script |