14 |
+# links to add |
+# links to add |
15 |
+ |
+ |
16 |
+# templates to expand |
+# templates to expand |
17 |
+ templates2events( "/etc/sysconfig/madsonic" , qw( conf-madsonic bootstrap-console-save console-save post-upgrade)); |
+ |
18 |
+ |
+ |
19 |
+# services to launch on event |
+# services to launch on event |
20 |
+ safe_symlink("restart", "root/etc/e-smith/events/conf-madsonic/services2adjust/madsonic"); |
+ |
21 |
+ |
+ |
22 |
+#actions |
+#actions |
23 |
+for my $event (qw(user-create )) |
+for my $event (qw(user-create )) |
90 |
-#event_link("action1", $event, "55"); |
-#event_link("action1", $event, "55"); |
91 |
-#event_link("action2", $event, "90"); |
-#event_link("action2", $event, "90"); |
92 |
+#create default directories in skel |
+#create default directories in skel |
93 |
+ my $root=$ARGV[0]; |
+ #my $root=$ARGV[0]; |
94 |
|
|
95 |
+ mkdir( "$root/etc/e-smith/skel/user/tmp"); |
+ system( "mkdir -p root/etc/e-smith/skel/user/tmp"); |
96 |
+ mkdir( "$root/etc/e-smith/skel/user/home/public_html"); |
+ system( "mkdir -p root/etc/e-smith/skel/user/home/public_html"); |
97 |
diff -Nur smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace |
diff -Nur smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace |
98 |
--- smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-user-webspace-0.1-old/root/etc/e-smith/events/actions/user-create-profiledir-webspace 1969-12-31 19:00:00.000000000 -0500 |
99 |
+++ smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace 2013-11-23 17:15:03.000000000 -0500 |
+++ smeserver-user-webspace-0.1/root/etc/e-smith/events/actions/user-create-profiledir-webspace 2013-11-23 17:15:03.000000000 -0500 |