28 lines
1.5 KiB
Perl
28 lines
1.5 KiB
Perl
#!/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");
|
|
|