summaryrefslogtreecommitdiffstats
path: root/src/usr/local/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Make sure LANG = C for pkg callsRenato Botelho2016-01-221-0/+2
|
* Bugfixes & handling $duid and $type, Fixes #4206Anders Lind2016-01-181-9/+57
| | | | | | | | This patch addresses: 1. Handling of IA_NA and IA_PD strings (that contain IAID+DUID content) using only the DUID part. 2. Fixing regular expression matching with respect to the IAID+DUID string regarding the legal \" substring (used in ISC DHCPv6 leases). 3. Checking the $duid variable before use. Default case for $type in the switch case statement. Please see the ticket for further information.
* Change pfSense-upgrade to return time for reboot so GUI can use itRenato Botelho2016-01-141-6/+17
|
* Reverting accidental changeStephen Beaver2016-01-081-2/+2
|
* Merge branch 'bugfix-for-4605' of https://github.com/the-real-ed/pfsenseStephen Beaver2016-01-081-2/+3
| | | | | * 'bugfix-for-4605' of https://github.com/the-real-ed/pfsense: Bug fix for #4605. After base64 encoding username/password, properly escape characters =,+,/ before submitting auth details
* Do not set PKG_AUTOUPDATE=false anymore and let pkg to update metadata when ↵Renato Botelho2016-01-071-23/+2
| | | | it's necessary. Some users reported to see issues in cases where update was necessary
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-152-8/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Only ask Proceed with upgrade question oncePhil Davis2015-12-111-1/+5
| | | | | | | | | | | On nanoBSD there is a "Proceed with upgrade?" question warning about the duplicate slice. After answering "y" to that, the system does the duplicate slice, which takes some minutes. Then it asks again "Proceed with upgrade?" after displaying all the packages it will install. That is a bit annoying at the console - I answer "y" and go off to make a cup of tea, only to come back and find that it is waiting asking again. On nanoBSD a reboot is known to be required anyway, because even if it is some little package that gets upgraded, and not the core OS, the partition is always switched. So we can say that in the first warning and then skip asking "Proceed with upgrade?" a second time. What do you think? Should it ask a 2nd time after displaying the packages to be installed? Or is it OK to skip that confirmation prompt? Also, I moved the call to setup_nanobsd_env inside the "if nanobsd" - it worked like it was because setup_nanobsd_env returns without doing anything if the system is not nanobsd, but it just looked odd and there seems no point calling it when not nanobsd.
* Fix #5598 - Nanobsd upgrade fails on GUIRenato Botelho2015-12-101-4/+4
| | | | | | When -p is used on nanobsd, progres socket must be created on secondary partition (chroot_dir) otherwise pkg, that runs with -c chroot_dir, will not be able to find UNIX socket to connect and send events
* Track nc PID and kill it on _exit()Renato Botelho2015-12-101-0/+9
|
* pfSense-upgrade script textPhil Davis2015-12-081-3/+3
| | | Just a few extra words to put in this text, while I am reading it and waiting for the upgrade to complete.
* Remove extra )Renato Botelho2015-11-271-1/+1
|
* Implement -n (dry-run) option in pfSense-upgradeRenato Botelho2015-11-271-1/+11
|
* Use _exec() to call gitsyncRenato Botelho2015-11-241-2/+3
|
* Teach pfSense-upgrade to run gitsync after upgradeRenato Botelho2015-11-231-0/+12
|
* Define user-agent on pfSense-upgradeRenato Botelho2015-11-231-0/+9
|
* Duplicate slice before upgrade, fixes #5483Renato Botelho2015-11-191-25/+36
|
* Add a workaround on pfSense-upgrade to prevent breaking strongswan port due ↵Renato Botelho2015-11-161-0/+18
| | | | to the symlinks we create
* Improve languageRenato Botelho2015-11-131-1/+1
|
* Fix copyright yearRenato Botelho2015-11-131-1/+1
|
* Improve languageRenato Botelho2015-11-131-1/+1
|
* Fix spell issue spotted by JimRenato Botelho2015-11-131-1/+1
|
* Add a new option to force upgrade script to don't rebootRenato Botelho2015-11-131-13/+18
|
* Wait 10 seconds before reboot, also notify adminRenato Botelho2015-11-131-5/+12
|
* Do not consider only meta package, but also other pfSense main packages, ↵Renato Botelho2015-11-051-4/+17
| | | | also change exit code from -1 to 2
* Add a new option to pfSense-upgrade, -c, it'll return 0 if system firmware ↵Renato Botelho2015-11-051-1/+30
| | | | is up2date or -1 if there are updates available
* Fix case wildcard of package names for reinstallallPhil Davis2015-10-241-1/+1
| | | | Introduced by https://github.com/pfsense/pfsense/commit/e3b43e4bfe5a3e69028c1ab7e0e4a632ff5ee499 None of the packages were being matched here, none of them would be reinstalled. A "reinstallall" would complete very quickly with "Success" message but actually do nothing.
* Ignore kernel-debug package when looking for main kernel packageRenato Botelho2015-10-231-1/+1
|
* Make it possible to _exec to get $_cmd exit code instead of tee oneRenato Botelho2015-10-231-3/+10
|
* Use _exit()Renato Botelho2015-10-231-1/+1
|
* Fix #5338: Add -4 and -6 options to pfSense-upgrade to select IP protocol ↵Renato Botelho2015-10-231-2/+26
| | | | version
* Use already defined pkg_prefix variableRenato Botelho2015-10-231-1/+1
|
* Use _echo, not echoStephen Beaver2015-10-191-2/+1
|
OpenPOWER on IntegriCloud