diff options
author | Jim P <jim@pingle.org> | 2012-04-18 05:31:17 -0700 |
---|---|---|
committer | Jim P <jim@pingle.org> | 2012-04-18 05:31:17 -0700 |
commit | ef82d62b8f90080c282feb92c5785d9de2be26c1 (patch) | |
tree | 35cf3756f93040c08c1b128705dc5887c3e3979c | |
parent | c0b1bc81465e2e9636ae7b8af1e53089f5d2e1d0 (diff) | |
parent | 152c18f0022798660806462869648da185d6f058 (diff) | |
download | pfsense-ef82d62b8f90080c282feb92c5785d9de2be26c1.zip pfsense-ef82d62b8f90080c282feb92c5785d9de2be26c1.tar.gz |
Merge pull request #93 from phil-davis/patch-1
Store PBIs in /root/var/db/pbi so they persist across reboots.
-rwxr-xr-x | etc/rc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -126,10 +126,14 @@ if [ "$PLATFORM" = "cdrom" ] ; then elif [ "$PLATFORM" = "embedded" ] ; then # do nothing for embedded platform elif [ "$PLATFORM" = "nanobsd" ] ; then - # Ensure that packages can be persistent across reboots + # Ensure that old-style PKG packages can be persistent across reboots /bin/mkdir -p /root/var/db/pkg /bin/rm -rf /var/db/pkg /bin/ln -s /root/var/db/pkg/ /var/db/pkg + # Ensure that PBI packages can be persistent across reboots + /bin/mkdir -p /root/var/db/pbi + /bin/rm -rf /var/db/pbi + /bin/ln -s /root/var/db/pbi/ /var/db/pbi elif [ "$PLATFORM" = "jail" ]; then # do nothing for jail platform else |