Implement reset for Ubuntu

[GitHub #118 #111]
This commit is contained in:
Aoran Zeng 2024-11-08 19:10:15 +08:00
parent 943d4edaf0
commit 06ec69b82e
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -116,13 +116,20 @@ os_ubuntu_setsrc (char *option)
} }
void
os_ubuntu_resetsrc (char *option)
{
os_ubuntu_setsrc (option);
}
FeatInfo FeatInfo
os_ubuntu_feat (char *option) os_ubuntu_feat (char *option)
{ {
FeatInfo f = {0}; FeatInfo f = {0};
f.can_get = true; f.can_get = true;
f.can_reset = false; f.can_reset = true;
f.cap_locally = CanNot; f.cap_locally = CanNot;
f.locally = NULL; f.locally = NULL;
@ -133,4 +140,4 @@ os_ubuntu_feat (char *option)
return f; return f;
} }
def_target_gsf(os_ubuntu); def_target_gsrf(os_ubuntu);