You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
224 B
Plaintext
12 lines
224 B
Plaintext
6 years ago
|
. /lib/samba/samba.sh
|
||
|
|
||
|
samba_dev_filter $DEVNAME
|
||
|
[ "$FLAG_DEV_TYPE" = "not-mtd" ] || exit
|
||
|
|
||
|
config_load samba
|
||
|
case $ACTION in
|
||
|
add) samba_add_section $DEVNAME;;
|
||
|
remove) samba_delete_section $DEVNAME;;
|
||
|
esac
|
||
|
uci commit samba
|