initial commit of file from CVS for smeserver-coova-chilli on Sat Sep 7 20:15:38 AEST 2024
This commit is contained in:
27
createlinks
Normal file
27
createlinks
Normal 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");
|
||||
|
Reference in New Issue
Block a user