Project

General

Profile

Download (10.6 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
0d04830f 10/02/2015 11:30 AM Renato Botelho

Check if packages are up to date early

b476eb8d 10/02/2015 11:07 AM Renato Botelho

Make sure partition are mounted in rw mode before any operation

f0308648 10/02/2015 11:06 AM Renato Botelho

Only reboot if there are upgrades from core repo

375a1754 10/02/2015 11:05 AM Renato Botelho

Remove unnecessary variable

54d0134b 10/02/2015 10:08 AM Renato Botelho

Remove more cases of hard coded pfSense and use product_name

f39bb5b6 09/30/2015 01:45 PM Renato Botelho

pkg 1.6.x upgrade command called with -q is now respecting it

7a19c326 09/29/2015 08:42 PM Renato Botelho

Do not run pkg update between first and second step of upgrade process

26bc0c20 09/29/2015 05:23 PM Renato Botelho

Remove old references to undefined variable firmwarelock

9f25db73 09/29/2015 05:17 PM Renato Botelho

Call exit after detect another instance is already running, otherwise it would end up deleting pid file

b6c72ae2 09/29/2015 05:12 PM Renato Botelho

Detect when pkg must be upgraded and do it early, followed by a pkg update to make sure metadata is updated

acce8404 09/25/2015 07:46 PM Renato Botelho

Cleanup cache and stale packages after install/delete

ab56095b 09/25/2015 07:46 PM Renato Botelho

Add missing ;;

fdf35e23 09/25/2015 06:33 PM Renato Botelho

Fix logic to set EVENT_PIPE

c979e86b 09/25/2015 06:29 PM Renato Botelho

Add -h, to show help

7025e3d4 09/25/2015 05:25 PM Renato Botelho

Define EVENT_PIPE using a parameter, -p

d61a194d 09/25/2015 04:46 PM Renato Botelho

Print return code when _GUI_CALL is not empty, used by GUI to check rc of a process that runs in bg

ac56271c 09/25/2015 04:42 PM Renato Botelho

Replace direct calls to exit by _exit

35ad2c72 09/25/2015 04:27 PM Renato Botelho

Set environment var EVENT_PIPE, used by pkg to write out progress in json format

f62ea19b 09/25/2015 04:09 PM Renato Botelho

Rename functions and variables to improve readability, no functional changes

badfc76a 09/25/2015 04:05 PM Renato Botelho

Use compare_version() for kernel_pkg checks

92c9d6cc 09/25/2015 04:03 PM Renato Botelho

Add pfSense-upgrade parameters -i/-r to install or remove packages

88af0be4 09/25/2015 12:31 PM Renato Botelho

Change usage() to use regular echo() and print to stderr

096c5147 09/25/2015 12:26 PM Renato Botelho

Relocate global variables definitions, no functional changes

23ee0868 09/25/2015 12:25 PM Renato Botelho

Relocate main block and leave all functions in the beggining

b046b5c4 09/25/2015 12:23 PM Renato Botelho

Check if update needs to run inside update()

9346911f 09/25/2015 11:35 AM Renato Botelho

Update repository metadata hourly

2edc6c80 09/23/2015 08:52 PM Renato Botelho

Add -u option to pfSense-upgrade

- New u option, to run pkg update
Move upgrade action code to upgrade()
- Rename first_step to upgrade_first_step
- Rename second_step to upgrade_second_step
- Do not call update when upgrade is called

d4c86857 09/23/2015 08:52 PM Renato Botelho

Verify if pkg is (un)locked before (un)lock it

32783770 09/23/2015 08:52 PM Renato Botelho

Disable trap on _exit()

3ea25fad 09/23/2015 08:52 PM Renato Botelho

Declare logfile earlier

d6891fcc 09/23/2015 08:52 PM Renato Botelho

Make usega() more informative

0dfc62d5 09/23/2015 08:52 PM Renato Botelho

Teach _exit() to return 1st parameter, replace exit calls by _exit and move trap to start of main block

d9a0f7a2 09/23/2015 08:52 PM Renato Botelho

Track pfSense-upgrade pidfile to avoid running 2 instances simultaneosly

66855de6 09/22/2015 08:05 PM Renato Botelho

Abort when 'pkg update' fails

d8123075 09/14/2015 07:58 PM Renato Botelho

Rename upgrade script to pfSense-upgrade