Table of Contents

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