mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
4bda16cf27
SVN-Revision: 34466
14 lines
231 B
Bash
14 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
|