| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 | #
|
|---|
| 3 | # This file is part of the FreeWRT project. FreeWRT is copyrighted
|
|---|
| 4 | # material, please see the LICENCE file in the top-level directory
|
|---|
| 5 | # or at http://www.freewrt.org/licence for details.
|
|---|
| 6 | #
|
|---|
| 7 | # Christian Fischer <spaetzle@freewrt.org>
|
|---|
| 8 | #
|
|---|
| 9 |
|
|---|
| 10 | case $1 in
|
|---|
| 11 | autostart|start)
|
|---|
| 12 | ;;
|
|---|
| 13 | *)
|
|---|
| 14 | echo "Usage: $0 start|autostart"
|
|---|
| 15 | exit 1
|
|---|
| 16 | ;;
|
|---|
| 17 | esac
|
|---|
| 18 |
|
|---|
| 19 | rm -f /bin/ifup /bin/ifdown
|
|---|
| 20 | ln -sf /opt/ifupdown/bin/ifupdown.sh /bin/ifup
|
|---|
| 21 | ln -sf /opt/ifupdown/bin/ifupdown.sh /bin/ifdown
|
|---|
| 22 |
|
|---|
| 23 | # vim:ts=4
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.