mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 16:55:13 +08:00
update 2026-05-10 09:48:30
This commit is contained in:
1 parent
95ac96413e
commit
0b362674f1
6244 files changed
+2992248
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
if [ ! -f /etc/config/taskplan ]; then
|
||||
cat > /etc/config/taskplan << EOF
|
||||
config global 'global'
|
||||
option customscript ' '
|
||||
option customscript2 ' '
|
||||
|
||||
EOF
|
||||
fi
|
||||
mkdir -p /etc/taskplan
|
||||
touch /etc/taskplan/taskplan.log
|
||||
chmod +x /usr/libexec/rpcd/luci.taskplan /etc/init.d/taskplan /etc/taskplan/taskplanrun /usr/bin/taskplanhandler
|
||||
rm -rf /tmp/luci-modulecache /tmp/luci-indexcache*
|
||||
|
||||
exit 0
|
||||
Reference in new issue
Block a user