This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
access_restrictions [2023/07/02 16:23] – [Scripting Access Restrictions] -formatting hogwild | access_restrictions [2023/10/26 17:20] (current) – [Scripting Access Restrictions] -format hogwild | ||
---|---|---|---|
Line 2: | Line 2: | ||
Access Restriction rules are coded as strings separated by pipe ( | ) symbols. These are stored in NVRAM as variables named //rrule0//, //rrule1//, //rrule2// and so on. | Access Restriction rules are coded as strings separated by pipe ( | ) symbols. These are stored in NVRAM as variables named //rrule0//, //rrule1//, //rrule2// and so on. | ||
+ | |||
+ | \\ | ||
To see what's in the first rule, we can issue the following command at a FreshTomato shell prompt: | To see what's in the first rule, we can issue the following command at a FreshTomato shell prompt: | ||
Line 45: | Line 47: | ||
* 16 = Thursday | * 16 = Thursday | ||
* 32 = Friday | * 32 = Friday | ||
- | * 64 = Sunday | + | * 64 = Saturday |
+ | |||
+ | \\ | ||
For multiple days, simply add together the corresponding numbers for each day. | For multiple days, simply add together the corresponding numbers for each day. | ||
Line 64: | Line 68: | ||
* A " | * A " | ||
* A " | * A " | ||
+ | |||
+ | \\ | ||
**Field 9:** stores the name that you gave to the rule being edited. | **Field 9:** stores the name that you gave to the rule being edited. | ||
Line 122: | Line 128: | ||
[[http:// | [[http:// | ||
+ | |||
+ |