Quantcast
Channel: Tomato Firmware
Viewing all articles
Browse latest Browse all 5181

bug: cru

$
0
0
i found a bug in the cru script.
if while adding a command, {enter} is pressed, {enter} will be written into the cron file. the unique ID will end up on a separate line. when this happens, the cron job can not be deleted via cru and needs to be manually removed in the file /var/spool/cron/crontabs/root.

example:
$ cru a ABC "1 2 3 4 5 command{enter}
> oops"

will result in the following crontab file:
Code:
1 2 3 4 5 command
oops #ABC#
$ cru d ABC will result in:
Code:
1 2 3 4 5...
bug: cru

Viewing all articles
Browse latest Browse all 5181

Trending Articles