File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 32
32
33
33
export PATH=" ${PATH} "
34
34
35
- # Hardened/FreeBSD-specific CMD
35
+ # Hardened/FreeBSD/DflyBSD -specific CMD
36
36
add_freebsd_cmd ()
37
37
{
38
38
# dpv is gone on FreeBSD 15.0
50
50
growfs \
51
51
gpart \
52
52
idprio \
53
+ ifconfig \
53
54
jexec \
54
55
jot \
55
56
kenv \
@@ -164,7 +165,6 @@ hexdump \
164
165
host \
165
166
hostname \
166
167
id \
167
- ifconfig \
168
168
install \
169
169
kill \
170
170
killall \
@@ -237,19 +237,20 @@ case "${platform}" in
237
237
esac
238
238
239
239
case " ${platform} " in
240
- FreeBSD|HardenedBSD)
241
- if [ ${_version} -lt 1300131 ]; then
242
- # https://svnweb.freebsd.org/base?view=revision&revision=r368045
243
- MAIN_CMD=" ${MAIN_CMD} ping6"
244
- fi
245
- add_freebsd_cmd
246
- ;;
247
240
DragonFly)
248
241
add_dragonfly_cmd
249
242
;;
250
243
Linux)
251
244
add_linux_cmd
252
245
;;
246
+ * )
247
+ # FreeBSD|HardenedBSD|XigmaNAS)
248
+ if [ ${_version} -lt 1300131 ]; then
249
+ # https://svnweb.freebsd.org/base?view=revision&revision=r368045
250
+ MAIN_CMD=" ${MAIN_CMD} ping6"
251
+ fi
252
+ add_freebsd_cmd
253
+ ;;
253
254
esac
254
255
255
256
truncate -s0 ${CMD_FILE} .tmp
You can’t perform that action at this time.
0 commit comments