diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-06-27 18:25:16 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-06-27 18:25:16 -0400 |
commit | 7a3cc4df0e12193f28f2c0b3b272d08ba310909c (patch) | |
tree | e1f9354af1d92f63a0b1815d1280f6bb073477b0 /etc | |
parent | 04c84e491a0a888d75a6d5b9ddf8b841386a7c1b (diff) | |
download | pfsense-7a3cc4df0e12193f28f2c0b3b272d08ba310909c.zip pfsense-7a3cc4df0e12193f28f2c0b3b272d08ba310909c.tar.gz |
Handle nanobsd platform
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -31,6 +31,10 @@ if [ "$PLATFORM" = "embedded" ]; then /etc/rc.embedded fi +if [ "$PLATFORM" = "nanobsd" ]; then + /etc/rc.embedded +fi + if [ "$PLATFORM" = "pfSense" ]; then mdmfs -S -M -s 4m md /var/run fi @@ -85,6 +89,8 @@ if [ "$PLATFORM" = "cdrom" ] ; then # do nothing for cdrom platform elif [ "$PLATFORM" = "embedded" ] ; then # do nothing for embedded platform +elif [ "$PLATFORM" = "nanobsd" ] ; then + # do nothing for nanobsd platform else SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` /sbin/swapon -a 2>/dev/null >/dev/null @@ -98,6 +104,12 @@ if [ "$PLATFORM" = "embedded" ] ; then ln -s /cf/conf/ /conf fi +# Make sure symlink is correct on embedded +if [ "$PLATFORM" = "nanobsd" ] ; then + rm /conf + ln -s /cf/conf/ /conf +fi + # Repair symlinks if they are broken if [ ! -L /etc/syslog.conf ]; then rm -rf /etc/syslog.conf |