Les partages wpkg et wpkg logs seront masqués dans le server-manager

tags/0.2.11
Daniel Berteaud 13 years ago
parent 36a0569a32
commit cf7730567d
  1. 8
      root/etc/e-smith/events/actions/wpkg-init

@ -91,7 +91,9 @@ if (!$wpkg){
ReadUsers => 'deploiement', ReadUsers => 'deploiement',
smbAccess => 'non-browseable', smbAccess => 'non-browseable',
httpAccess => 'none', httpAccess => 'none',
RecycleBin => 'disabled' RecycleBin => 'disabled',
Hide => 'yes',
Removable => 'no'
}); });
unless ( system("/sbin/e-smith/signal-event", "share-create", "wpkg") == 0 ){ unless ( system("/sbin/e-smith/signal-event", "share-create", "wpkg") == 0 ){
@ -110,7 +112,9 @@ if (!$wpkglogs){
WriteUsers => 'deploiement', WriteUsers => 'deploiement',
smbAccess => 'non-browseable', smbAccess => 'non-browseable',
httpAccess => 'none', httpAccess => 'none',
RecycleBin => 'disabled' RecycleBin => 'disabled',
Hide => 'yes',
Removable => 'no'
}); });
unless ( system("/sbin/e-smith/signal-event", "share-create", "wpkglogs") == 0 ){ unless ( system("/sbin/e-smith/signal-event", "share-create", "wpkglogs") == 0 ){

Loading…
Cancel
Save