blob: 4a36d0f6287de8d24fbf8d7e3c233bde397ae26c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
if [ -d "/etc/alist" ]; then
mv -f "/etc/alist" "/etc/openlist"
fi
if [ -f "/etc/config/alist" ]; then
mv -f "/etc/config/alist" "/etc/config/openlist"
uci -q set openlist.config=openlist
uci -q commit openlist
fi
exit 0
|