summaryrefslogtreecommitdiffstats
path: root/src/usr/local/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray debug-code (/tmp/script)Lorenz Schori2017-06-211-1/+0
| | | | | (cherry picked from commit a29361a2d94eed754255e75d63d511e7889d6c9f) (cherry picked from commit 12ca33f4dc915c37eeee4b6b86c7daa399fdad91)
* Do not output PHP shell starup message unless it is run interactively. Fixes ↵jim-p2017-02-101-6/+15
| | | | #7045
* Move pfSense-upgrade to FreeBSD-portsRenato Botelho2016-10-091-1068/+0
|
* Remove workarounds to sort extensions.ini since ports tree now has a better ↵Renato Botelho2016-10-061-4/+0
| | | | solution in place to track PHP modules dependencies
* Prepare pfSense-upgrade to work with new major OS upgradeRenato Botelho2016-09-161-3/+90
|
* Add 'now' parameter do do_reboot() to force it to happen immediatelyRenato Botelho2016-09-161-4/+17
|
* Make pkg_lock() and pkg_unlock() work with wildcardsRenato Botelho2016-09-161-10/+16
|
* Move copyright from ESF to NetgateRenato Botelho2016-09-0618-18/+18
|
* Backport Radius auth server to detect openVPNPhil Davis2016-07-201-1/+1
| | | | Original pull request to master was #3057
* Review license / copyright on all files (1st round)Renato Botelho2016-07-1418-33/+865
|
* Ignore cp result for cases when files are the same. Ticket #6557Renato Botelho2016-07-141-1/+3
|
* Make sure resolv.conf is present during nanobsd upgrade. Fixes #6557Renato Botelho2016-07-061-0/+3
|
* Unlock kernel package to make dry-run output more consistentRenato Botelho2016-05-051-0/+2
|
* Reboot after upgrade when meta package version changedRenato Botelho2016-05-021-3/+10
|
* Reduce values of FETCH_TIMEOUT and FETCH_RETRY to help ticket #6177Renato Botelho2016-04-271-0/+2
|
* Setup HTTP_PROXY environment variable for pkg when it's called from the GUI ↵jim-p2016-04-191-0/+10
| | | | and also for pfSense-upgrade
* Silence /etc/rc.notify_message garbage outputRenato Botelho2016-04-061-2/+3
|
* Fix code used to read config repo pathRenato Botelho2016-04-061-2/+1
|
* Do all steps to replace repo package and make sure symlink is in placeRenato Botelho2016-04-061-22/+29
|
* Force update after reinstall repo pkgRenato Botelho2016-04-061-0/+1
|
* Simplify logicRenato Botelho2016-04-061-6/+5
| | | | (cherry picked from commit 05bdceee8c8fd598cdf83dc57c4006e20612e26d)
* Make sure directory existsRenato Botelho2016-04-061-0/+1
|
* Make sure source file existsRenato Botelho2016-04-051-3/+6
| | | | (cherry picked from commit 75cdfae39bff2b5ccc523cc32df7dde99f04eeed)
* Add a workaround on pfSense-upgrade to make sure repo package is replaced by ↵Renato Botelho2016-04-051-0/+7
| | | | correct one
* Rework the way repo packages workRenato Botelho2016-04-051-5/+21
| | | | | | - Distribute only a single pfSense-repo package containing all templates - Create a symlink pointing to selected repo - Do not limit it only to pfSense-repo and pfSense-repo-devel
* Do not return -1, sh doesn't like itRenato Botelho2016-04-051-1/+1
|
* Ticket #6053Renato Botelho2016-04-041-46/+0
| | | | | | - Do not call ntpdate before start ntpd, ntpd -g parameter is enough - Deprecate /usr/local/sbin/ntpdate_sync_once.sh - Remove system_ntp_configure parameter and always start ntpd
* Set exec bit on gmirror_status_check.phpjim-p2016-04-041-0/+0
|
* Make sure repo metadata is updated before any other package when repo conf ↵Renato Botelho2016-04-041-0/+23
| | | | changes. Fixes #6052
* Use route_vpn_gateway for tap-type OpenVPN instances as well where ↵Chris Buechler2016-03-112-4/+4
| | | | specified. Remove old and wrongly copy/pasted comments while here. Ticket #5981
* Check $activeAnders Lind2016-03-011-1/+1
| | | Fix missing check for $active to avoid creating a route to a released lease.
* Fix substr mistakeAnders Lind2016-03-011-1/+1
| | | | Made a silly mistake and overlooked an important difference between javascript substring() and php substr(). Tightened regex check for octal value.
* Use PHP CLI explicitly to run rc.conf_mount_r(w|o) from pfSense-upgrade, it ↵Renato Botelho2016-02-161-2/+2
| | | | fixes #5875
* Make a couple changes to PPP default gateway handling to address issues with ↵jim-p2016-02-141-2/+6
| | | | | | default gateway switching. Fixes #1837 Tested with default gateway switching on and off, by rebooting, manually disconnecting the PPP link, and manually disconnecting the NIC link, worked each time, though still possible some issues remain. Feedback appreciated.
* Fix #5837Renato Botelho2016-02-051-23/+23
| | | | | | | | | | | | | | | | | | | Since the introduction of pkg_with_pb(), direct calls to this function were added using the following format: if ! pkg_with_pb ... | tee -a $logfile; then What happened in this case is if was always getting a successfull return code from tee call, and pkg_with_pb return was always being ignored leading pfSense-upgrade to keep running when a fatal error happened. Since we need to print pkg output and also send it to log, _exec() call is the best option here. Added necessary flags to make sure necessary actions (unlock additional packages or cleaning up kernel package annotation) are executed on _exit call in fatal cases and replaced all direct calls by _exec()
* Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when ↵Renato Botelho2016-02-021-0/+4
| | | | it's booting
* Revert "Fix #5831"Renato Botelho2016-02-021-4/+4
| | | | This reverts commit 93a8ddf7a4c5d43cbeb623c923eb76659e6f49e0.
* Save pkg call return code to use on return. The way it is now is always ↵Renato Botelho2016-02-011-1/+2
| | | | returning 0. It should fix #5837
* Make additional packages install/delete operations to respect -n (dry-run)Renato Botelho2016-02-011-3/+3
|
* Reorder pkg_reinstall_all(), no functional changesRenato Botelho2016-02-011-11/+11
|
* Respect ALL_PACKAGES for package removalRenato Botelho2016-02-011-1/+16
|
* Fix #5831Renato Botelho2016-02-011-4/+4
| | | | | | | | | | After PKG_AUTOUPDATE=false was removed, operations done during boot, 2nd and 3rd stages of upgrade process, are trying to update repository metadata. The problem is during this stage we don't have a network available yet and all needed packages were previously downloaded. Add -U parameter to all read/write pkg calls during at these stages to prevent pkg(8) to try to update metadata
* Import David W's patch fixing issues with dhcp6c being launched multiple ↵Chris Buechler2016-01-281-0/+8
| | | | times in some circumstances. Ticket #5621
* Test duplicated slice with fsck after cloning during an upgradejim-p2016-01-281-0/+1
|
* Fix #4605Edin Sarajlic2016-01-271-2/+2
| | | | | After base64 encoding username/password, properly escape characters =,+,/ before submitting auth details
* fixes 5818 - Dev Shell - Cmd Tab CompletionNOYB2016-01-261-2/+2
|
* Meant to have show_recordings here. Ticket #5657Chris Buechler2016-01-261-1/+1
|
* correct function name. Ticket #5657Chris Buechler2016-01-261-1/+1
|
* A couple more refinements for pfSsh.php while I'm here.jim-p2016-01-261-17/+13
|
* Fix validation of playback file passed to pfSsh.php. Fixes #5657jim-p2016-01-261-12/+26
|
OpenPOWER on IntegriCloud