Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
6dfe4bfd
Commit
6dfe4bfd
authored
Feb 04, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(legacy) remove dead code
parent
00de826a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
system.inc
src/etc/inc/system.inc
+0
-22
rc.bootup
src/etc/rc.bootup
+0
-3
No files found.
src/etc/inc/system.inc
View file @
6dfe4bfd
...
...
@@ -1784,28 +1784,6 @@ function system_disable_arp_wrong_if()
));
}
function
enable_watchdog
()
{
global
$config
;
return
;
/* XXX delete or repair please */
$install_watchdog
=
false
;
$supported_watchdogs
=
array
(
"Geode"
);
$file
=
@
file_get_contents
(
'/var/run/dmesg.boot'
);
foreach
(
$supported_watchdogs
as
$sd
)
{
if
(
stristr
(
$file
,
"Geode"
))
{
$install_watchdog
=
true
;
}
}
if
(
$install_watchdog
==
true
)
{
if
(
is_process_running
(
"watchdogd"
))
{
mwexec
(
"/usr/bin/killall watchdogd"
,
true
);
}
exec
(
"/usr/sbin/watchdogd"
);
}
}
function
get_possible_listen_ips
(
$include_ipv6_link_local
=
false
)
{
$interfaces
=
get_configured_interface_with_descr
();
$carplist
=
get_configured_carp_interface_list
();
...
...
src/etc/rc.bootup
View file @
6dfe4bfd
...
...
@@ -333,9 +333,6 @@ reload_ttys();
/* load graphing functions */
enable_rrd_graphing
();
/* enable watchdog if supported */
enable_watchdog
();
/* if we are operating at 1000 then increase timeouts.
this was never accounted for after moving to 1000 hz */
$kern_hz
=
get_single_sysctl
(
'kern.clockrate'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment