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
9e84a307
Commit
9e84a307
authored
Mar 31, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: whitespace sweep
parent
85667d1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
rc.halt
src/etc/rc.halt
+1
-1
rc.opnsense
src/etc/rc.opnsense
+2
-4
rc.reboot
src/etc/rc.reboot
+3
-3
No files found.
src/etc/rc.halt
View file @
9e84a307
#!/bin/sh
# shutdown rc scripts
# shutdown rc scripts
/usr/local/etc/rc.opnsense stop
/usr/local/etc/rc.backup_rrd
...
...
src/etc/rc.opnsense
View file @
9e84a307
...
...
@@ -19,10 +19,8 @@ do
# check if service is enabled
eval
"is_enabled=
\$
"
$rcvar
""
# start/stop service
# start/stop service
if
[
"
$is_enabled
"
==
"YES"
]
;
then
$rc_filename
$1
$rc_filename
$1
fi
done
\ No newline at end of file
src/etc/rc.reboot
View file @
9e84a307
#!/bin/sh
# shutdown rc scripts
# shutdown rc scripts
/usr/local/etc/rc.opnsense stop
/usr/local/etc/rc.backup_rrd
...
...
@@ -12,8 +12,8 @@ php -a >/dev/null << EOF
if (flock(
\$
fp, LOCK_EX)) {
flock(
\$
fp, LOCK_UN);
fclose(
\$
fp);
}
}
EOF
/sbin/shutdown
-or
now
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