mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
firmware: hook cleanup as hidden "f"lush command in console #8154
Some may argue the hidden commands are not good, but they are really only to be intended to be called upon request. None of these things magically fix firmware updates on their own, but can be useful (and copying console output into the forum can also be more difficult).
This commit is contained in:
parent
3a9e9edefe
commit
d8ecd8c31b
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2015-2022 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2015-2025 Franco Fichtner <franco@opnsense.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@ -100,6 +100,10 @@ ${RELEASE:-y})
|
||||
run_action connection
|
||||
exit 0
|
||||
;;
|
||||
[fF])
|
||||
run_action cleanup
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
exit 0
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user