rayddteam

add redboot to rc.d/MAIN

Nov 29th, 2011
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. diff -r ee3d429e07f9 profiles/SMALL_/files/etc/rc.d/MAIN
  2. --- a/profiles/SMALL_/files/etc/rc.d/MAIN Sat Nov 26 20:40:57 2011 +0200
  3. +++ b/profiles/SMALL_/files/etc/rc.d/MAIN Tue Nov 29 11:47:43 2011 +0200
  4. @@ -37,6 +37,11 @@
  5. if [ -c /dev/map/config ]; then
  6. dd if=/dev/map/config of=/tmp/etc.tar.gz;
  7. cd /tmp/ && tar xvzf /tmp/etc.tar.gz
  8. + else
  9. + if [ -c /dev/redboot/config ]; then
  10. + dd if=/dev/redboot/config of=/tmp/etc.tar.gz;
  11. + cd /tmp/ && tar xvzf /tmp/etc.tar.gz
  12. + fi
  13. fi
  14.  
  15. kldload ipfw
  16.  
  17.  
Advertisement
Add Comment
Please, Sign In to add comment