File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 180180 mkdir -p /boot/config/plugins/&name; /scripts
181181 rm -f $(ls /boot/config/plugins/&name; /&name; *.txz 2>/dev/null | grep -v '&version; ')
182182 echo "&version; " > /boot/config/plugins/&name; /version
183- cat >/etc/cron.d/folderview.plus <<EOF
184- */5 * * * * root /usr/local/bin/php /usr/local/emhttp/plugins/folderview.plus/scripts/scheduled_backup.php >/dev/null 2>& 1
185- EOF
183+ echo "*/5 * * * * root /usr/local/bin/php /usr/local/emhttp/plugins/folderview.plus/scripts/scheduled_backup.php >/dev/null 2>& 1" > /etc/cron.d/folderview.plus
186184 chmod 644 /etc/cron.d/folderview.plus
187- /etc/rc.d/rc.crond restart >/dev/null 2>& 1 || true
185+ /etc/rc.d/rc.crond restart >/dev/null 2>& 1 || true
188186 echo ""
189187 echo "----------------------------------------------------"
190188 echo " &name; has been installed."
198196 <INLINE >
199197 removepkg &name; -&version; || true
200198 rm -f /etc/cron.d/folderview.plus
201- /etc/rc.d/rc.crond restart >/dev/null 2>& 1 || true
199+ /etc/rc.d/rc.crond restart >/dev/null 2>& 1 || true
202200 rm -rf &plugdir;
203201 rm -rf /boot/config/plugins/&name;
204202 </INLINE >
You can’t perform that action at this time.
0 commit comments