4 lines
185 B
Plaintext
4 lines
185 B
Plaintext
|
#!/sbin/execlineb -P
|
||
|
if -t { test -s /etc/hostname } backtick -n -E HOSTNAME { head -1 /etc/hostname }
|
||
|
if -t { test -n $HOSTNAME } redirfd -w 1 /proc/sys/kernel/hostname echo $HOSTNAME
|