Update e-smith-package-update to smeserver-package-update

This commit is contained in:
Brian Read 2024-04-04 15:12:45 +01:00
parent cc784925ce
commit 1b23c24c33

View File

@ -19,7 +19,7 @@ foreach (qw(samba/smb.conf samba/smbusers))
post-install post-install
post-upgrade post-upgrade
workgroup-update workgroup-update
e-smith-samba-update smeserver-samba-update
)); ));
} }
@ -28,11 +28,11 @@ foreach my $file (qw(
/etc/krb5.conf /etc/krb5.conf
)) ))
{ {
templates2events($file, qw(console-save bootstrap-console-save e-smith-samba-update)); templates2events($file, qw(console-save bootstrap-console-save smeserver-samba-update));
} }
foreach (qw(console-save bootstrap-console-save bootstrap-ldap-save foreach (qw(console-save bootstrap-console-save bootstrap-ldap-save
post-install post-upgrade workgroup-update e-smith-samba-update)) post-install post-upgrade workgroup-update smeserver-samba-update))
{ {
event_link('store-ldap-smbpasswd', $_, "06"); event_link('store-ldap-smbpasswd', $_, "06");
} }
@ -112,7 +112,7 @@ event_link("create-machine-account", $event, "10");
$event = "pre-restore"; $event = "pre-restore";
event_link("delete-smbpasswd", $event, "90"); event_link("delete-smbpasswd", $event, "90");
$event = "e-smith-samba-update"; $event = "smeserver-samba-update";
event_link("user-create-profiledir", $event, "20"); event_link("user-create-profiledir", $event, "20");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smbd"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/smbd");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nmbd"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/nmbd");