User Tools

Site Tools


uphp:functions:nvram_unset

nvram_unset

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Clear a key from NVRAM

Description

int nvram_unset ( string $key )

This function will unset (clear) a value in NVRAM for a particular key

Parameter

$key: String variable name

Return Values

Integer: 1 on success, 0 on failure

Example

<?
  $res=nvram_unset("myvariable");
  if (!$res) print("Error clearing NVRAM key/value");
?>

See Also

nvram_get() - Get a value from NVRAM

nvram_set() - Set a key and value in NVRAM

uphp/functions/nvram_unset.txt · Last modified: 2021/09/13 05:57 (external edit)