mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: small style update
groups, master.passwd and shells do not need updates.
This commit is contained in:
parent
8324cdc467
commit
9ddfa876d5
@ -109,7 +109,7 @@ $etc_shells = <<<EOF
|
||||
|
||||
EOF;
|
||||
|
||||
$known_shells = array(
|
||||
$known_shells = [
|
||||
'/bin/csh',
|
||||
'/bin/sh',
|
||||
'/bin/tcsh',
|
||||
@ -118,7 +118,7 @@ $known_shells = array(
|
||||
'/usr/local/bin/zsh',
|
||||
'/usr/local/sbin/opnsense-installer',
|
||||
'/usr/local/sbin/opnsense-shell',
|
||||
);
|
||||
];
|
||||
|
||||
foreach ($known_shells as $shell) {
|
||||
if (file_exists($shell)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user