1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/createlinks mezzanine_patched_e-smith-samba-1.14.0/createlinks |
2 |
|
|
--- e-smith-samba-1.14.0/createlinks 2007-10-11 21:11:03.000000000 -0400 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/createlinks 2007-10-11 21:10:11.000000000 -0400 |
4 |
|
|
@@ -89,6 +89,9 @@ |
5 |
|
|
$event = "machine-account-create"; |
6 |
|
|
event_link("create-machine-account", $event, "10"); |
7 |
|
|
|
8 |
|
|
+$event = "pre-restore"; |
9 |
|
|
+event_link("delete-smbpasswd", $event, "90"); |
10 |
|
|
+ |
11 |
|
|
# Link smbd and nmbd to daemontools. |
12 |
|
|
safe_symlink("daemontools", "root/etc/rc.d/init.d/smbd"); |
13 |
|
|
safe_symlink("daemontools", "root/etc/rc.d/init.d/nmbd"); |
14 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete-smbpasswd mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete-smbpasswd |
15 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete-smbpasswd 1969-12-31 19:00:00.000000000 -0500 |
16 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/events/actions/delete-smbpasswd 2007-10-11 21:09:13.000000000 -0400 |
17 |
|
|
@@ -0,0 +1,2 @@ |
18 |
|
|
+#! /bin/sh |
19 |
|
|
+exec rm -f /etc/samba/smbpasswd |