blob: 07511bf9f7fe50afae7a80f02f7a34461d1ba221 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#!/bin/sh /etc/rc.common
2START=11
3STOP=90
4
5start() {
6 PIPE=`uci get cmdline.PIPE 2> /dev/null`
7
8 if [ "$PIPE" == "1" ]; then
9 /usr/bin/piped -a -r &
10 fi
11}
12
13stop() {
14 PIPE=`uci get cmdline.PIPE 2> /dev/null`
15
16 if [ "$PIPE" == "1" ]; then
17 ubus call piped stop
18 rmmod mrvlpipe.ko
19 else
20 rmmod mfp.ko
21 fi
22}