mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-19 16:02:36 +02:00
19 lines
327 B
Bash
Executable file
19 lines
327 B
Bash
Executable file
#!/bin/sh
|
|
|
|
case "$ACTION" in
|
|
"change")
|
|
/sbin/hotplug $1
|
|
;;
|
|
"add")
|
|
/sbin/mdev $1
|
|
if [ -x "/sbin/hotplug" ]; then
|
|
/sbin/hotplug $1
|
|
fi
|
|
;;
|
|
"remove")
|
|
if [ -x "/sbin/hotplug" ]; then
|
|
/sbin/hotplug $1
|
|
fi
|
|
/sbin/mdev $1
|
|
;;
|
|
esac
|