initial commit of file from CVS for smeserver-coova-chilli on Sat Sep 7 20:15:38 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:15:38 +10:00
parent ee4df6cdb4
commit 2120fa2210
85 changed files with 1432 additions and 2 deletions

27
createlinks Normal file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
safe_symlink("restart", "root/etc/e-smith/events/chilli-update/services2adjust/chilli");
safe_symlink("adjust", "root/etc/e-smith/events/chilli-update/services2adjust/masq");
safe_symlink("sigusr1", "root/etc/e-smith/events/chilli-update/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/chilli-update/services2adjust/squid");
safe_symlink("sigterm", "root/etc/e-smith/events/chilli-update/services2adjust/radiusd");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/sudoers");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/chilli.conf");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/chilli/config");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/raddb/radiusd.conf");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/raddb/clients.conf");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/httpd/conf/httpd.conf");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/squid/squid.conf");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/etc/rc.d/init.d/masq");
safe_touch("root/etc/e-smith/events/chilli-update/templates2expand/opt/chilli/hotspotlogin-conf.pl");
service_link_enhanced("chilli", "S80", "7");
service_link_enhanced("chilli", "K25", "6");
service_link_enhanced("chilli", "K25", "0");
#safe_symlink("../../../functions/chilli", "root/etc/e-smith/web/panels/manager/cgi-bin/chilli");