Erastik 0 Posted 2007-07-01 18:04:05 Share Posted 2007-07-01 18:04:05 Добрый день всем! Подскажите DHCP загружается командой dhcpd. Но каждый раз при перезагрузке системы эту команду надо вводить по новой. Подскажите как это процесс автоматизировать. Link to post Share on other sites
Serjio 19 Posted 2007-07-01 18:16:06 Share Posted 2007-07-01 18:16:06 если Linux echo "/usr/sbin/dhcpd eth0" >> /etc/rc.local Link to post Share on other sites
Колян 2 Posted 2007-07-01 19:38:28 Share Posted 2007-07-01 19:38:28 Если фряха - echo "#!/bin/sh" >> /etc/rc.d/dhcpd echo "/usr/sbin/dhcpd" >> /etc/rc.d/dhcpd echo "echo 'DHCP Server started suffecy!'" >> /etc/rc.d/dhcpd echo "" >> /etc/rc.d/dhcpd chmod 755 /etc/rc.d/dhcpd Link to post Share on other sites
Erastik 0 Posted 2007-07-02 06:17:36 Author Share Posted 2007-07-02 06:17:36 dhcpd_enable="YES" )) Link to post Share on other sites
Колян 2 Posted 2007-07-02 09:22:09 Share Posted 2007-07-02 09:22:09 Можно и так. Мне допустим, нравится, когда со скриптов все запускается. Link to post Share on other sites
Erastik 0 Posted 2007-07-02 10:29:44 Author Share Posted 2007-07-02 10:29:44 А со скриптов к стати не загружалось... Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now