Skip to content

Commit a644c27

Browse files
committed
Support ls for openBSD
1 parent 013c953 commit a644c27

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/recipe/os/BSD/OpenBSD.c

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ os_openbsd_getsrc (char *option)
3737
chsrc_view_file ("/etc/installurl");
3838
}
3939

40+
4041
/**
4142
* @consult
4243
* 1. https://mirrors.tuna.tsinghua.edu.cn/help/openbsd/
@@ -56,4 +57,23 @@ os_openbsd_setsrc (char *option)
5657
chsrc_conclude (&source);
5758
}
5859

59-
def_target(os_openbsd);
60+
61+
Feature_t
62+
os_openbsd_feat (char *option)
63+
{
64+
Feature_t f = {0};
65+
66+
f.can_get = true;
67+
f.can_reset = false;
68+
69+
f.cap_locally = CanNot;
70+
f.cap_locally_explain = NULL;
71+
f.can_english = true;
72+
f.can_user_define = true;
73+
74+
f.note = NULL;
75+
return f;
76+
}
77+
78+
79+
def_target_gsf(os_openbsd);

0 commit comments

Comments
 (0)