4bda16cf27
SVN-Revision: 34466
13 lines
231 B
Bash
13 lines
231 B
Bash
#!/bin/sh
|
|
# Copyright (c) 2012 OpenWrt.org
|
|
[ "$DEVICE" == "lo" ] && exit 0
|
|
. /lib/ipv6/support.sh
|
|
|
|
case "$ACTION" in
|
|
ifup)
|
|
enable_interface "$INTERFACE" "$DEVICE"
|
|
;;
|
|
ifdown)
|
|
disable_interface "$INTERFACE" "$DEVICE"
|
|
;;
|
|
esac
|