8 lines
167 B
Bash
8 lines
167 B
Bash
#!/bin/sh
|
|
|
|
CRON_CONFIG_FILE="/etc/crontabs/root"
|
|
|
|
echo "${CRON} sh /opt/phc.sh" >> $CRON_CONFIG_FILE
|
|
echo "$@reboot sh /opt/phc.sh" >> $CRON_CONFIG_FILE
|
|
|
|
exec crond -f |