mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 21:15:13 +08:00
update 2026-10-07 18:47:42
This commit is contained in:
1 parent
617f7ca2a6
commit
bd061545ed
4832 files changed
+1693456
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