diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-19 01:44:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-19 01:44:43 +0000 |
commit | 6cfaca8c0f162b830483644291372cfd3b34703b (patch) | |
tree | 760247889604c6f84f865c0eb56035f3e431459e /etc/rc | |
parent | 55be00bf780c93d24ab7f0b87d6e064dfdfeedcb (diff) | |
download | pfsense-6cfaca8c0f162b830483644291372cfd3b34703b.zip pfsense-6cfaca8c0f162b830483644291372cfd3b34703b.tar.gz |
Create symlink if pfi didnt find the location
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -71,7 +71,9 @@ fi [ ! -d /cf/conf/backup/ ] || mkdir -p /cf/conf/backup/ 2>/dev/null if [ "$PLATFORM" = "cdrom" ]; then - [ ! -L /conf ] || /rescue/ln -s /cf/conf /conf + if [ ! -L /conf ]; then + /rescue/ln -s /cf/conf /conf + fi [ ! -f /cf/conf/config.xml ] || /rescue/cp /FreeSBIE/cf/conf/config.xml /cf/conf/ [ ! -f /cf/conf/ez-ipupdate.cache ] || /rescue/cp /FreeSBIE/cf/conf/ez-ipupdate.cache /cf/conf/ mkdir /var/db/ |