search for: 4_bin_sh

Displaying 1 result from an estimated 1 matches for "4_bin_sh".

2006 Jan 04
0
Installing opensshd on Sun Cobalt Linux, shell interpreter issue
...the archives. The following bourne shell code would test for the requirement for a fix. if [ ! -x /sbin/sh ] && [ -x /bin/sh ] then # Change the shell interpreter # ....... fi I suggest that if [ ! -x /sbin/sh ]&& [ -x /bin/sh ] then # Change the shell interpreter script_ver=4_bin_sh cat ${opensshd_script_name} | sed -e "s?\#\!/sbin/sh?\#\!/bin/sh?g" \ >> ${opensshd_script_name}.${script_ver} fi would be one way of doing it. This would yield a file called opensshd.init.in.4_bin_sh. The "if shell exists" test would need to be repeated in...