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
5081e25b
Commit
5081e25b
authored
Sep 21, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: syshook print improvements
(cherry picked from commit
9a117cd0
)
parent
a8a4d37e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rc.syshook
src/etc/rc.syshook
+3
-3
No files found.
src/etc/rc.syshook
View file @
5081e25b
#!/bin/sh
#!/bin/sh
# Copyright (c) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (c) 2015
-2016
Franco Fichtner <franco@opnsense.org>
#
#
# Redistribution and use in source and binary forms, with or without
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# modification, are permitted provided that the following conditions
...
@@ -55,10 +55,10 @@ for SYSHOOK in ${SYSHOOKS}; do
...
@@ -55,10 +55,10 @@ for SYSHOOK in ${SYSHOOKS}; do
SYSHOOK
=
${
SYSHOOK
##
"
${
SYSDIR
}
/"
}
SYSHOOK
=
${
SYSHOOK
##
"
${
SYSDIR
}
/"
}
SYSHOOK
=
${
SYSHOOK
%%
".
${
SYSLEVEL
}
"
}
SYSHOOK
=
${
SYSHOOK
%%
".
${
SYSLEVEL
}
"
}
echo
"rc.syshook
: launching
${
SYSHOOK
}
.
${
SYSLEVEL
}
"
echo
"rc.syshook
(
${
SYSLEVEL
}
): running
${
SYSHOOK
#??-
}
"
if
!
${
SYSDIR
}
/
${
SYSHOOK
}
.
${
SYSLEVEL
}
;
then
if
!
${
SYSDIR
}
/
${
SYSHOOK
}
.
${
SYSLEVEL
}
;
then
echo
"rc.syshook
: error in
${
SYSHOOK
}
.
${
SYSLEVEL
}
"
echo
"rc.syshook
(
${
SYSLEVEL
}
): error in
${
SYSHOOK
#??-
}
"
fi
fi
done
done
...
...
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