[root@li-94 root]# ./newscript
usage: statserial [-n | -d | -x] [device]
-n option disables looping
-d option prints modem status as a decimal number
-x option prints modem status as a hexadecimal number
Default device is /dev/ttyS1
./newscript: line 4: nss_ldap: command not found
rpm: no packages given for install
./newscript: line 10:
http://ftp.freshrpms.net/pub/freshrpms/ ... 1.i386.rpm: No such file or directory
./newscript: line 13: apt-get: command not found
./newscript: line 16: apt-get: command not found
Shutting down sendmail: [ OK ]
Shutting down sm-client: [ OK ]
./newscript: line 20: apt-get: command not found
mv: can't stat source /etc/rc.d/init.d/sendmail.rpmsave
mv: can't stat source /etc/mail/sendmail.cf.rpmnew
mv: can't stat source /etc/mail/submit.cf.rpmnew
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Stopping sshd: [ OK ]
Generating SSH1 RSA host key: [ OK ]
Generating SSH2 RSA host key: [ OK ]
Generating SSH2 DSA host key: [ OK ]
Starting sshd: [ OK ]
rpm: no packages given for install
./newscript: line 34:
http://tech9.net/rml/procps/packages/2. ... 1.i386.rpm: No such file or directory