Revision de1d03f3
Added by Scott Ullrich about 20 years ago
etc/inc/config.inc | ||
---|---|---|
498 | 498 |
write_config("Upgraded config version level from {$prev_version} to {$config['version']}"); |
499 | 499 |
|
500 | 500 |
if ($g['booting']) |
501 |
echo "done\n";
|
|
501 |
echo "Done\n";
|
|
502 | 502 |
} |
503 | 503 |
|
504 | 504 |
/* save the system configuration */ |
... | ... | |
924 | 924 |
global $g; |
925 | 925 |
if($config['system']['disableftpproxy'] <> "") return; |
926 | 926 |
if ($g['booting']) |
927 |
echo "Starting INETD and FTP Helpers for FTP-PROXY...\n";
|
|
927 |
echo "Starting INETD and FTP Helpers for FTP-PROXY..."; |
|
928 | 928 |
$wanif = get_real_wan_interface(); |
929 | 929 |
mwexec("/usr/sbin/inetd -wW -C 60"); |
930 | 930 |
mwexec("/usr/bin/killall ftpsesame 2>/dev/null"); |
931 | 931 |
mwexec("/usr/local/sbin/ftpsesame -i {$wanif} -q ftpproxy"); |
932 |
echo "Done.\n"; |
|
932 | 933 |
} |
933 | 934 |
|
934 | 935 |
|
etc/rc | ||
---|---|---|
86 | 86 |
|
87 | 87 |
/usr/sbin/cron 2>>/tmp/bootup_messages |
88 | 88 |
|
89 |
echo -n "Syncing package configurations..."
|
|
89 |
echo "Syncing package configurations..." |
|
90 | 90 |
/etc/rc.packages |
91 |
echo Done. |
|
92 | 91 |
|
93 | 92 |
echo "Executing rc.d items..." |
94 | 93 |
for FILE in /usr/local/etc/rc.d/*.sh; do |
Also available in: Unified diff
Pretty up boot process.