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
b375ec03
Commit
b375ec03
authored
Jan 13, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firmware: remove spurious starting messages from backend scripts
parent
25f298ca
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
11 deletions
+5
-11
install.sh
src/opnsense/scripts/firmware/install.sh
+1
-2
lock.sh
src/opnsense/scripts/firmware/lock.sh
+1
-2
reinstall.sh
src/opnsense/scripts/firmware/reinstall.sh
+1
-2
remove.sh
src/opnsense/scripts/firmware/remove.sh
+0
-1
unlock.sh
src/opnsense/scripts/firmware/unlock.sh
+1
-2
upgrade.sh
src/opnsense/scripts/firmware/upgrade.sh
+1
-2
No files found.
src/opnsense/scripts/firmware/install.sh
View file @
b375ec03
...
@@ -36,8 +36,7 @@ fi
...
@@ -36,8 +36,7 @@ fi
# Truncate upgrade progress file
# Truncate upgrade progress file
:
>
${
PKG_PROGRESS_FILE
}
:
>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO REINSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO INSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING REINSTALL***'
>>
${
PKG_PROGRESS_FILE
}
pkg
install
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg
install
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
...
...
src/opnsense/scripts/firmware/lock.sh
View file @
b375ec03
#!/bin/sh
#!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2015
-2016
Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V.
# Copyright (C) 2014 Deciso B.V.
# All rights reserved.
# All rights reserved.
#
#
...
@@ -37,6 +37,5 @@ fi
...
@@ -37,6 +37,5 @@ fi
:
>
${
PKG_PROGRESS_FILE
}
:
>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO LOCK:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO LOCK:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING LOCK***'
>>
${
PKG_PROGRESS_FILE
}
pkg lock
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg lock
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
echo
'***DONE***'
>>
${
PKG_PROGRESS_FILE
}
echo
'***DONE***'
>>
${
PKG_PROGRESS_FILE
}
src/opnsense/scripts/firmware/reinstall.sh
View file @
b375ec03
#!/bin/sh
#!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2015
-2016
Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V.
# Copyright (C) 2014 Deciso B.V.
# All rights reserved.
# All rights reserved.
#
#
...
@@ -37,7 +37,6 @@ fi
...
@@ -37,7 +37,6 @@ fi
:
>
${
PKG_PROGRESS_FILE
}
:
>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO REINSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO REINSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING REINSTALL***'
>>
${
PKG_PROGRESS_FILE
}
pkg
install
-yf
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg
install
-yf
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
...
...
src/opnsense/scripts/firmware/remove.sh
View file @
b375ec03
...
@@ -37,7 +37,6 @@ fi
...
@@ -37,7 +37,6 @@ fi
:
>
${
PKG_PROGRESS_FILE
}
:
>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO REINSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO REINSTALL:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING REINSTALL***'
>>
${
PKG_PROGRESS_FILE
}
pkg remove
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg remove
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg autoremove
-y
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
pkg clean
-ya
>>
${
PKG_PROGRESS_FILE
}
...
...
src/opnsense/scripts/firmware/unlock.sh
View file @
b375ec03
#!/bin/sh
#!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2015
-2016
Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V.
# Copyright (C) 2014 Deciso B.V.
# All rights reserved.
# All rights reserved.
#
#
...
@@ -37,6 +37,5 @@ fi
...
@@ -37,6 +37,5 @@ fi
:
>
${
PKG_PROGRESS_FILE
}
:
>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO UNLOCK:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO UNLOCK:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING UNLOCK***'
>>
${
PKG_PROGRESS_FILE
}
pkg unlock
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
pkg unlock
-y
$PACKAGE
>>
${
PKG_PROGRESS_FILE
}
echo
'***DONE***'
>>
${
PKG_PROGRESS_FILE
}
echo
'***DONE***'
>>
${
PKG_PROGRESS_FILE
}
src/opnsense/scripts/firmware/upgrade.sh
View file @
b375ec03
#!/bin/sh
#!/bin/sh
# Copyright (C) 2015 Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2015
-2016
Franco Fichtner <franco@opnsense.org>
# Copyright (C) 2014 Deciso B.V.
# Copyright (C) 2014 Deciso B.V.
# All rights reserved.
# All rights reserved.
#
#
...
@@ -39,7 +39,6 @@ fi
...
@@ -39,7 +39,6 @@ fi
echo
"***GOT REQUEST TO UPGRADE:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
"***GOT REQUEST TO UPGRADE:
$PACKAGE
***"
>>
${
PKG_PROGRESS_FILE
}
echo
'***STARTING UPGRADE***'
>>
${
PKG_PROGRESS_FILE
}
if
[
"
$PACKAGE
"
==
"all"
]
;
then
if
[
"
$PACKAGE
"
==
"all"
]
;
then
# update all installed packages
# update all installed packages
opnsense-update
-p
>>
${
PKG_PROGRESS_FILE
}
opnsense-update
-p
>>
${
PKG_PROGRESS_FILE
}
...
...
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