Revision 803c0401
Added by Scott Ullrich about 16 years ago
etc/rc | ||
---|---|---|
33 | 33 |
/etc/rc.embedded |
34 | 34 |
fi |
35 | 35 |
|
36 |
if [ "$PLATFORM" = "nanobsd" ]; then |
|
37 |
/etc/rc.embedded |
|
38 |
fi |
|
39 |
|
|
36 | 40 |
if [ "$PLATFORM" = "pfSense" ]; then |
37 | 41 |
mdmfs -S -M -s 4m md /var/run |
38 | 42 |
fi |
... | ... | |
87 | 91 |
# do nothing for cdrom platform |
88 | 92 |
elif [ "$PLATFORM" = "embedded" ] ; then |
89 | 93 |
# do nothing for embedded platform |
94 |
elif [ "$PLATFORM" = "nanobsd" ] ; then |
|
95 |
# do nothing for nanobsd platform |
|
90 | 96 |
else |
91 | 97 |
SWAPDEVICE=`cat /etc/fstab | grep swap | cut -f1` |
92 | 98 |
/sbin/swapon -a 2>/dev/null >/dev/null |
... | ... | |
124 | 130 |
ln -s /cf/conf/ /conf |
125 | 131 |
fi |
126 | 132 |
|
133 |
# Make sure symlink is correct on nanobsd |
|
134 |
if [ "$PLATFORM" = "nanobsd" ] ; then |
|
135 |
rm /conf |
|
136 |
ln -s /cf/conf/ /conf |
|
137 |
fi |
|
138 |
|
|
127 | 139 |
# Repair symlinks if they are broken |
128 | 140 |
if [ ! -L /etc/syslog.conf ]; then |
129 | 141 |
rm -rf /etc/syslog.conf |
Also available in: Unified diff
Add support for nanobsd platform